Mike Wu 6e227c9de3 Reset redis and update Tornado Pool (#65) 3 years ago
..
README.md a0a3f854f7 Live updating pipeline (#58) 3 years ago
__init__.py a0a3f854f7 Live updating pipeline (#58) 3 years ago
check_logs.sh a0a3f854f7 Live updating pipeline (#58) 3 years ago
cron_daily.sh 6e227c9de3 Reset redis and update Tornado Pool (#65) 3 years ago
cron_fri.sh a0a3f854f7 Live updating pipeline (#58) 3 years ago
cron_mon.sh a0a3f854f7 Live updating pipeline (#58) 3 years ago
cron_sat.sh a1a97d866b change permissions on file 3 years ago
cron_test.sh a0a3f854f7 Live updating pipeline (#58) 3 years ago
cron_thu.sh a0a3f854f7 Live updating pipeline (#58) 3 years ago
cron_tue.sh a0a3f854f7 Live updating pipeline (#58) 3 years ago
cron_wed.sh a0a3f854f7 Live updating pipeline (#58) 3 years ago
schedule.txt 7b5611ce94 Improvements to live-update pipeline. (#64) 3 years ago
test.py a0a3f854f7 Live updating pipeline (#58) 3 years ago
test_schedule.txt 7b5611ce94 Improvements to live-update pipeline. (#64) 3 years ago

README.md

CRON jobs to run the live updating scripts

Helpful link here.

We will be using crontab. Each line of the crontab file defines a job.

The syntax is

1 2 3 4 5 /path/to/command arg1 arg2

where

1: Minute (0-59)
2: Hours (0-23)
3: Day (0-31)
4: Month (0-12 [12 == December])
5: Day of the week(0-7 [7 or 0 == sunday])
/path/to/command – Script or command name to schedule

Put * for where you want it run all the time.

We put the lines to add in schedule.txt. Note that all the files in this folder are customized to AWS-EC2. If you are using something else, you will need to change these files.