forked from robcarver17/pysystemtrade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrontab
23 lines (22 loc) · 1.57 KB
/
crontab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# So matplotlib doesn't try to connect to an X11 server
MPLBACKEND=Agg
# Use this for stuff to run on startup
#
# @reboot
#
#
#
15 06 * * 1-5 . $HOME/.profile; cd $SCRIPT_PATH; ./run_stack_handler >> $ECHO_PATH/run_stack_handler.txt 2>&1
45 00 * * 1-5 . $HOME/.profile; cd $SCRIPT_PATH; ./run_capital_update >> $ECHO_PATH/run_capital_update.txt 2>&1
05 01 * * 1-5 . $HOME/.profile; cd $SCRIPT_PATH; ./run_daily_price_updates >> $ECHO_PATH/run_daily_price_updates.txt 2>&1
05 01 * * 1-5 . $HOME/.profile; cd $SCRIPT_PATH; ./run_daily_fx_and_contract_updates >> $ECHO_PATH/run_daily_fx_and_contract_updates.txt 2>&1
00 01 * * 1-5 . $HOME/.profile; cd $SCRIPT_PATH; ./run_daily_update_multiple_adjusted_prices >> $ECHO_PATH/run_daily_update_multiple_adjusted_prices.txt 2>&1
30 01 * * 1-5 . $HOME/.profile; cd $SCRIPT_PATH; ./run_systems >> $ECHO_PATH/run_systems.txt 2>&1
45 01 * * 1-5 . $HOME/.profile; cd $SCRIPT_PATH; ./run_strategy_order_generator >> $ECHO_PATH/run_strategy_order_generator.txt 2>&1
00 15 * * 1-5 . $HOME/.profile; cd $SCRIPT_PATH; ./run_cleaners >> $ECHO_PATH/run_cleaners.txt 2>&1
15 15 * * 1-5 . $HOME/.profile; cd $SCRIPT_PATH; ./run_backups >> $ECHO_PATH/run_backups_echos.txt 2>&1
30 02 * * 1-5 . $HOME/.profile; cd $SCRIPT_PATH; ./run_reports >> $ECHO_PATH/run_reports.txt 2>&1
#
# Note: $MONGO_DATA must be accessible at boot; this won't work if it's in an encrypted home folder
@reboot . $HOME/.profile; mongod --dbpath $MONGO_DATA
@reboot . $HOME/.profile; cd $SCRIPT_PATH; ./startup >> $ECHO_PATH/startup.txt 2>&1