task scheduler
which periodic command scheduler do you use?
what strengths does it have over the others?
what areas could it use improvement?
Linux
which periodic command scheduler do you use?
what strengths does it have over the others?
what areas could it use improvement?
by xdark1
I use "at" and "cron", both are execelent tools you can program task to run hourly, a specific day and time month, for a period for example every 2 hours, at is more flexible with time to specify the job,
in cron you have to write 5 field to define a task
The time and date fields are:
field allowed values
----- --------------
minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)
# run a job to 8:00 pm, day 9 ,month 7 (July), day 6 (saturday)
0 20 9 7 6 $HOME/bin/daily.job
or
0 20 9 Jul Sat $HOME/bin/daily.job
with "at" the same task
at -m -f $HOME/bin/daily.job 8pm Jul 9
-m to mail the output
-f file or script to execute
you can use enviroment var like $HOME
if the task is periodic i use cron, if the task has irregular time use at
by tagmarkman
I prefer Cron Jobs o Unix system over at.
On Windows, I'm kinda stuck with the Task Scheduler even though I would like better functionality from time to time.
by jaqui
time to time?
you mean that windows task scheduler can actually function effectively at any time? ;)
by tagmarkman
by jaqui
by jmgarvin
at is pretty thin to say the least. I just don't user it.
cron is cool, but it needs some spring cleaning. It has a lot of stuff going on with it, but for the most part it is FAR more powerful than at.
by jmgarvin
I still like to keep track of the "one time" tasks...cron is a great way to do it...
Also, typically, my one time tasks are usually something that I can script up to run rather than use at....but to each their own ;-)
This discussion is closed to new replies.
Sort by Trending