4 ms·
Let me programmatically schedule a task to run at a specific time, just once. E.g. if my user tells me to remind them about something in a day, I want to schedu
by andrewfong 9y ago
Let me programmatically schedule a task to run at a specific time, just once. E.g. if my user tells me to remind them about something in a day, I want to schedule a task to do that exactly 24 hours from now.
I'm sure this exists already but it's hard to find because searching usually points me to a cronjob service. But what I'm looking for is distinct from a that. I don't want to run something every minute or hour or checking if there's any work to do. I just want a given task to run as a pre-determined time, scaled to any arbitrary number of tasks.
- rocqua 9y agoThe cron alternative that does something only once is 'at'.
- Ao7bei3s 9y agoThe modern at alternative is: systemd-run --user --on-calendar=23:20 notify-send Example Or relative with --on-active=60. And you automatically get the normal systemd tooling, e.g. systemctl list-timers.
- merb 9y agowell this works fine for a single host. but if you deal with a cluster or inside a cloud you better use kubernetes for that.
- bkovacev 9y agoCelery?
- megamindbrian 9y agoI am building a set of Nodejs ipy notebooks to do this kind of stuff: https://github.com/megamindbrian/jupytangular https://github.com/megamindbrian/jupytangular Eventually I want to wrap it in an Angular interface.
- Phenomabomb 9y agoI've heard good things about Autohotkey, but every time I try to do even the simplest of tasks it becomes a hassle. Like even just clicking on a specific point on your screen you have to know the exact coordinates of the place you want clicked. It seems like it'd be very easy just to record where you want to click.
- tahw 9y agoWhen I'm working on tasks like that I like to add a hotkey that just puts the mouse's location on a tooltip for me. Sometimes you can just Tab to whatever you're trying to click, too, which is robust to window position.
- tahw 9y agoWhen I'm working on tasks like that I like to add a hotkey that just puts the mouse's location on a tooltip for me. Sometimes you can just Tab to whatever you're trying to click, too, which is robust to window position.
- danenania 9y agoI think Zapier and other similar services can do this sort of thing?
- 12s12m 9y agoWhat exactly do you mean by a "task". Just remind you by sending you an email? or actually running a command on your computer?