diff --git a/crontabExport.txt b/crontabExport.txt new file mode 100644 index 0000000..92f7677 --- /dev/null +++ b/crontabExport.txt @@ -0,0 +1,47 @@ +# Edit this file to introduce tasks to be run by cron. +# +# Each task to run has to be defined through a single line +# indicating with different fields when the task will be run +# and what command to run for the task +# +# To define the time you can provide concrete values for +# minute (m), hour (h), day of month (dom), month (mon), +# and day of week (dow) or use '*' in these fields (for 'any'). +# +# Notice that tasks will be started based on the cron's system +# daemon's notion of time and timezones. +# +# Output of the crontab jobs (including errors) is sent through +# email to the user the crontab file belongs to (unless redirected). +# +# For example, you can run a backup of all your user accounts +# at 5 a.m every week with: +# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ +# +# For more information see the manual pages of crontab(5) and cron(8) + +# JTR: Set some environemnt variables for batch mode execution +NoConsoleLogging=true +noconfirm=true + +# m h dom mon dow command + +# Export crontab to have it in version control too +30 9 * * 1-5 crontab -l > ~/OptionRecorderSchwab/crontabExport.txt + +# Recording +*/15 8-15 * * 1-5 cd ~/OptionRecorderSchwab && ./recordAllSymbolsSingleRun.sh +#30 10 * * 1-5 cd ~/OptionRecorderSchwab && ./record90dayOut.sh + +##Auto-trading +# Weekly put credit spreads +35 10 * * 4 cd ~/OptionRecorderSchwab && ./autoTradeSPXPutCreditSpread.sh +# Weekly long SPY position +37 10 * * 4 cd ~/OptionRecorderSchwab && ./autoTradeGenericLongCall.sh SPY Roth -VAR_checkPositionExists=flase -VAR_daysOutMax=120 +# 90 day out trades as soon as those options pop up +36 10 * * 1-5 cd ~/OptionRecorderSchwab && ./autoTradeGenericLongCall.sh QQQ IRA +38 10 * * 1-5 cd ~/OptionRecorderSchwab && ./autoTradeGenericLongCall.sh DIA IRA + +#1DTE SPX trading every day right after the market closes. +#59 14 * * 1-5 cd ~/OptionRecorderSchwab && ./autoTradeSPX_IB_1DTE.sh +