What's the modern way to schedule jobs running on a computer? Is there anything better than cron? Context is data warehousing extract-transform-load jobs. Not interested in anything proprietary.
@kel That is definitely a candidate.
I wonder how easy it is to script adding those jobs? We have about 75 different ones described in a database (what else?). Right now we just spit stuff out to a text file & then use crontab to load them into cron.
@rpardee @kel you can use PowerShell to script creating scheduled tasks. Example: https://o365reports.com/2019/08/02/schedule-powershell-script-task-scheduler/#:~:text=Method%201%3A%20Schedule%20PowerShell%20Script%20using%20Task%20Scheduler,Actions%20%E2%80%99%20and%20click%20the%20%E2%80%98New%20%E2%80%99%20button.
Have you looked at launchd, the new all-purpose task control daemon? Don't be put off by the fact that it's from Apple--it's open source, licensed under the APSL, which I believe is GPL-compatible, if you care about that kind of thing. It seems to offer many of the features you want, including task scheduling, preemption control, etc.
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/launchd.8.html
http://www.macgeekery.com/tips/all_about_launchd_items_and_how_to_make_one_yourself
@corlin Never heard of that--will take a look. Thanks!
@corlin Ooh--hang on--requires mac? No good for our environment, alas. We're on solaris now. Could conceivably do linux, but windows is probably most preferred.
@rpardee Task Scheduler?