2025-03-06 14:03:45 -06:00
|
|
|
# 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
|
2025-04-21 09:31:31 -05:00
|
|
|
29 8 * * 1-5 crontab -l > ~/OptionRecorderSchwab/crontabExport.txt
|
2025-03-06 14:03:45 -06:00
|
|
|
|
|
|
|
|
# Recording
|
|
|
|
|
*/15 8-15 * * 1-5 cd ~/OptionRecorderSchwab && ./recordAllSymbolsSingleRun.sh
|
|
|
|
|
#30 10 * * 1-5 cd ~/OptionRecorderSchwab && ./record90dayOut.sh
|
|
|
|
|
|
|
|
|
|
##Auto-trading
|
|
|
|
|
# Weekly put credit spreads
|
2025-04-21 09:31:31 -05:00
|
|
|
# Paused, too many outstanding contracts 35 10 * * 4 cd ~/OptionRecorderSchwab && ./autoTradeSPXPutCreditSpread.sh
|
2025-03-06 14:03:45 -06:00
|
|
|
# Weekly long SPY position
|
2025-04-21 09:31:31 -05:00
|
|
|
#Paused, market downturn might take long... 37 10 * * 4 cd ~/OptionRecorderSchwab && ./autoTradeGenericLongCall.sh SPY Roth -VAR_checkPositionExists=flase -VAR_daysOutMax=120
|
2025-03-06 14:03:45 -06:00
|
|
|
# 90 day out trades as soon as those options pop up
|
2026-07-24 15:37:28 -05:00
|
|
|
#36 10 * * 1-5 cd ~/OptionRecorderSchwab && ./autoTradeGenericLongCall.sh QQQ IRA
|
|
|
|
|
#37 10 * * 1-5 cd ~/OptionRecorderSchwab && ./autoTradeGenericLongCall.sh SPY Roth
|
|
|
|
|
#38 10 * * 1-5 cd ~/OptionRecorderSchwab && ./autoTradeGenericLongCall.sh DIA IRA -VAR_daysOutMin=85
|
2025-03-06 14:03:45 -06:00
|
|
|
|
|
|
|
|
#1DTE SPX trading every day right after the market closes.
|
|
|
|
|
#59 14 * * 1-5 cd ~/OptionRecorderSchwab && ./autoTradeSPX_IB_1DTE.sh
|
|
|
|
|
|