The forsaken world of Windows Task Scheduler

(ssg.dev)

20 points | by sedatk a day ago ago

10 comments

  • metalcrow 21 hours ago 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.

    • sedatk 20 hours ago 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 20 hours ago 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.

      • ankurdhama 12 hours ago ago

        Google systemd GUI and you will find many such tools.

  • eviks 20 hours ago 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)

    • zigzag312 15 hours ago ago

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

    • sedatk 13 hours ago 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.

  • kemotep 11 hours ago ago

    No wonder RMMs don’t use Task Scheduler. Easier to just run scripts on a timer you control.

  • abstractspoon 15 hours ago ago

    Excellent read

    • sedatk 13 hours ago ago

      Thanks!