For the complete documentation index, see llms.txt. This page is also available as Markdown.

CRON Schedules

PSCommander allows you to run script blocks based on CRON schedules. PSCommander uses a single runspace, so long running scripts are not recommended.

To create a CRON schedule, use New-CommanderSchedule within config.ps1. This configuration opens Notepad every minute.

You can use a site like crontab guru to define schedules.

New-CommanderSchedule -CronExpression "* * * * *" -Action {
     Start-Process Notepad
}

Last updated