schtab sets tasks to Windows Task Scheduler from a text in crontab format.
-
Edit your schtab file
schtab -e
To change the default editor, set
EDITOR
orVISUAL
environment variable. -
Write schtab from a file
schtab file.txt
-
Write schtab from stdin
schtab - < file.txt
-
List your schtab file
schtab -l
-
Remove your schtab file
schtab --delete
- Setting environment variables
- Intervals on months (e.g.
* * * */5 *
) - Intervals on DOW (e.g.
* * * * MON/3
)