LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   linux crontab vs unix crontab (https://www.linuxquestions.org/questions/linux-general-1/linux-crontab-vs-unix-crontab-746181/)

ytd 08-09-2009 04:41 AM

linux crontab vs unix crontab
 
Does LINUX crontab differs from UNIX crontab ? I ask because I want to MOVE the crontab from UNIX (true64 32 bit) to a new LINUX machine server (CentOS 5 - 64bit). I think it's the same thing but it's good to ask.

Let me reformulate, does UNIX crontab arrange the schedule date / minute /hour / etc in a different way that LINUX crontab does ?
On true64 unix machine is:

30 21 * * 2 /blablal (this write is for EG, not real)
25 21 * * 3 /smfdsfdb5
30 21 * * 3 /myjob4
25 21 * * 4 /myfdf3
30 21 * * 4 /myjob1
25 21 * * 5 /myjob2

In linux is the same ? In my crontab linux is only a line from the webmin and I can't appreciate if it's the same.

druuna 08-09-2009 04:47 AM

Hi,

Crontab is basically the same for Unix and Linux. Some implementations of crontab have extra options, which you don't seem to be needing (looking at your example).

You do need to check if the programs that are called by crontab are still in the same location, but that is not crontab related....

Hope this helps.

ytd 08-09-2009 05:07 AM

Yes mate, tyvm. You mean the scripts not the programs. And, I checked over the internet and found what does the first number means, second, third, etc and I have read that in LINUX and in UNIX is the same indeed.

Ty for telling me that I need to have the scripts (programs) in the same lcation in order for crontab to work properly, I knew that. :) ty


All times are GMT -5. The time now is 08:58 AM.