Settings

Theme

The forsaken world of Windows Task Scheduler

ssg.dev

16 points by sedatk 12 hours ago · 8 comments

Reader

metalcrow 8 hours ago

I would say the user task scheduling is one of the things that linux actually does better then windows! (well, nowadays the list is a lot longer but pre windows 11 it was a few). Systemd services are really simple and quite easy to make, and just run a task like you'd expect.

  • sedatkOP 7 hours ago

    Love that. Has GUI caught up with the technical capabilities though, or do we need to resort to command-line and editing configuration files to schedule a task?

    • metalcrow 7 hours ago

      There isn't a GUI that i know of, but the files are very basic text files that don't really need much of a GUI. Creating a service and setting it's timer is maybe 10 lines total. For monitoring the services and seeing how long they take and all that i'm sure there are GUIs but none i know of ottomh.

eviks 7 hours ago

> deleted the files. How about them apples, Task Scheduler? > Obviously, Windows wasn't going to let me go by without punishment.

Obviously! You just rent this piece of deprecated garbage, not own!

> Now, I would receive errors for tasks not existing.

And after fixing it, how do you deal with a system update that restores them? Have you found a way to monitor for a list of tasks and delete them should they ever appear again?

(this would also be helpful if you delete some app tasks that come back on app updates)

  • sedatkOP 6 minutes ago

    I haven’t experienced that yet, but that’s a good point. Perhaps I need to keep a script of Unregister-ScheduledTask calls like a replayable delete log.

  • zigzag312 2 hours ago

    Try creating a task that tries to delete these tasks. It could be triggered on startup and periodically like once a day.

abstractspoon an hour ago

Excellent read

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection