LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-09-2009, 04:41 AM   #1
ytd
Member
 
Registered: Jan 2009
Posts: 189

Rep: Reputation: 31
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.

Last edited by ytd; 08-09-2009 at 04:44 AM.
 
Old 08-09-2009, 04:47 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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.
 
Old 08-09-2009, 05:07 AM   #3
ytd
Member
 
Registered: Jan 2009
Posts: 189

Original Poster
Rep: Reputation: 31
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
replaced crontab, now should get crontab back to what it was raminn Linux - Newbie 2 10-20-2008 07:15 PM
man crontab(5) vs crontab(1) Canis Polaris Linux - Newbie 2 06-04-2008 04:03 PM
Linux Crontab Syntax shritesh Linux - Software 1 01-03-2007 02:43 AM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 12:35 PM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration