Skip to content

ioforce/node-cron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#node-cron (but right now without node :)

A docker container with crond that pulls a github repository and do stuff on schedule. In this case a nginx -s reload but i could also be a npm build ... The cronjob is git pulling to the folder /node-cron

Update: Changed to use a ssh script that compares local git comit with remote commit and only do stuff if they they don´t match. Logs will be streamed to localhost:4000/cron It takes around 20 seconds before the first cronjob runs.

If this is a private repository run the container with: docker run -e GITHUB_TOKEN=personalaccesstoken

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published