At Daniel Mason®, I use scheduled jobs for publishing and reporting. Moving some of them to a Windows PC made me think about a question that rarely comes up when starting from scratch: when does the old scheduler stop owning a job?
Give each slot a single owner
A schedule can look correct in Task Scheduler and still cause duplicate output if an earlier trigger remains active. Before moving a job, I would record its current trigger, the time zone it uses and the destination it writes to. For a publisher, the useful unit is the platform and publication slot, since different jobs can write to the same account.
Test with the identity that will run the job
A successful run in my own terminal tells me that the script can run interactively. A scheduled task may use another account, a different working directory and a different way of accessing secrets. In the Daniel Mason® migration I set up a dedicated account for a pilot. Seeing the task marked Ready was a setup milestone. A real scheduled execution and a durable record of its output are the checks I would use before declaring a cutover complete.
Keep the evidence near the schedule
For each migrated job I want a timestamp, the exit status and the result that matters to the business, such as a post URL or a generated report. I would compare those during the first scheduled runs and keep GitHub Actions available for pull request checks. A short list of jobs and their current owners is worth keeping alongside the scripts so the next migration starts with the actual running system.
AI disclosure: This article was drafted with ChatGPT based on the Daniel Mason® project.
