1834208 Members
2637 Online
110066 Solutions
New Discussion

Re: Scheduled tasks

 
SOLVED
Go to solution
Manuales
Super Advisor

Scheduled tasks

Hi ..
could you please let me know how many ways there are in unix to schedule tasks?
i know cron...

could you explain me about "at" commmand?

is there other way to schedule tasks?

thanks in advance.
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor
Solution

Re: Scheduled tasks

Hi Manuales:

You can create 'crontasks' and do 'at' or 'batch' jobs. The manpages for 'at' (of which 'batch' is really just another queue) offer explanations of usage.

Like 'cron', you need to pay attention to the 'at.allow' and 'at.deny' files. This too is documented in your friendly manpages :-)

Regards!

...JRF...
Patrick Wallek
Honored Contributor

Re: Scheduled tasks

There are also third party schedulers available, which you have to pay for.

Two products I can think of right off: IBM Tivoli Workload Scheduler (was Maestro many years ago) and Autosys.
Pete Randall
Outstanding Contributor

Re: Scheduled tasks

The at command is basically a one-time version of cron. It uses cron's facilities to schedule a job to be run at some time in the future. You can even make it replicate cron's functionality by using at to schedule a script that then re-schedules the same script, like this:

echo "/full_path_to_myscript" | at 02:00 tomorrow

Put that at the end of your script and it will recur tomorrow!

More info, as always, can be found in the man page for at.


Pete

Pete