Files
PowerShell/demos/crontab/README.md
T

15 lines
507 B
Markdown
Raw Normal View History

2016-07-21 10:03:08 -07:00
## CronTab demo
This demo shows examining, creating, and removing cron jobs via crontab.
Output of Get-CronJob is a strongly typed object with properties like DayOfWeek or Command.
2016-08-31 14:05:35 -04:00
Remove-CronJob prompts before removing the job unless you specify -Force.
2016-07-21 10:03:08 -07:00
Tab completion of -UserName is supported, e.g.
Get-CronJob -u <TAB>
NYI: no way to run crontab with sudo if necessary
NYI: ignoring shell variables or comments
NYI: New-CronJob -Description "..." (save in comments"
NYI: @reboot,@daily,@hourly,etc