1753455 Members
6072 Online
108794 Solutions
New Discussion юеВ

Re: cron job

 
SOLVED
Go to solution
Matti_Kurkela
Honored Contributor

Re: cron job

And why should system shutdown affect 'at' jobs any different from 'cron' jobs?

In HP-UX, at job information is stored in /var/spool/cron/atjobs: I don't see anything that would clear them away at system shutdown/reboot cycle.

MK
MK
Jose Mosquera
Honored Contributor

Re: cron job

Matti, please excuse my previous opinion, you have absolutely right! :)
Canon_3
Occasional Advisor

Re: cron job

Dear Experts,
Thank you for your advises.

I have a query,
Let's say if i want to use cron scheduler then
suppose if i added all the entries starting from jan to dec in crontab file.
After successfully executed the script in Jan month. If i missed out to remove the Jan entry in crontab, even though also there shouldn't be any problem right?
Shibin_2
Honored Contributor

Re: cron job

It depends on how you entering in crontab.

Let's say, if you entered with date and month, then there is no problem, even if the entry exists. But if you only entered with date, then it will run again on next month.

Btw, are you the author of this question ? Pls assign points, if you satisfied with answers.
Regards
Shibin
Dennis Handly
Acclaimed Contributor

Re: cron job

>Swetha: If I missed out to remove the Jan entry in crontab, even though also there shouldn't be any problem right?

It may have a problem if you don't want it to run a year later.