c1c5344a88
Based on standard practices, we need to have a copyright and license notice at the top of each source file. Removed existing copyrights and updated/added copyright notices for .h, .cpp, .cs, .ps1, and .psm1 files. Updated module manifests for consistency to have Author = "PowerShell" and Company = "Microsoft Corporation". Removed multiple line breaks. Separate PR coming to update contribution document for new source files: #6140 Manually reviewed each change. Fix #6073 |
||
---|---|---|
.. | ||
CronTab | ||
crontab.ps1 | ||
README.md |
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. Remove-CronJob prompts before removing the job unless you specify -Force.
Tab completion of -UserName is supported, e.g.
Get-CronJob -u
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