Any other alternative to at

Karl Auer kauer at biplane.com.au
Sun Feb 18 15:21:06 UTC 2018


On Sun, 2018-02-18 at 08:37 -0600, Peng Yu wrote:
> Hi, I'd like to easily schedule jobs using a tool other than `at`.
> Directly modifying crontab is not an option as it is too cumbersome.
> Does anybody know alternatives to `at`? Thanks.

Could you tell us WHY you don't want to use "at"? Scheduling jobs is
exactly and precisely what it is designed to do!

If the precise time when they run is not important, but they do need to
run regularly, you could drop jobs - any old executables - into
/etc/cron.hourly, /etc/cron.daily/ etc/cron.weekly or
/etc/cron.monthly.

If you need different frequencies, look at how cron runs those jobs,
and set up your own directory and cron job to run the things in it.
Just adding jobs to the directory will make cron run them. If they
should only run once, either make them self-removing, or make your cron
job clear the directory after running everything in it.

This is a bit of work, but only has to be done once.

If you are OK with it being a bit interactive, this sort of thing is
very lo-tech but will run your program an hour later:

    sleep 3600 ; myprog

If you want something pointy-clicky, google it; there seem to be  few
crontab GUIs.

Regards, K.

-- 
> Regards,
> Peng
> 

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: A0CD 28F0 10BE FC21 C57C 67C1 19A6 83A4 9B0B 1D75
Old fingerprint: A52E F6B9 708B 51C4 85E6 1634 0571 ADF9 3C1C 6A3A






More information about the ubuntu-users mailing list