LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-31-2011, 09:35 PM   #1
raahul07
LQ Newbie
 
Registered: Aug 2011
Posts: 5

Rep: Reputation: Disabled
Cron Query***URGENT*****


Hi all , i have on doubt here.

this is the cron job for server in HK

Start1 = 30 21 * * 1-5
Stop1 = 00 00 * * 1-5
Start2 = 00 00 * * 2-6
Stop2 = 00 04 * * 2-6

and i need to convert the timing to US which is 12 hrs behind it

as per my understanding

Start1 is from Monday to Friday at 9:30PM HKT…which Monday to Friday 9:30am in US
Stop1 is 00:00AM Monday to Friday HKT….. Sunday to Thursday 12 noon in US
Start2 is 00:00AM Tuesday to Saturday HKT…which is Monday to Friday 12 noon US
Stop2 is 04:00 AM Tuesday to Saturday HKT…which is Monday to Friday 4:00PM US

i am more worried about stop1 , will it stop on monday 00:00 after sunday 11:59 or or after mon 11:59

also correct me if other assumption are wrong..
thanks in advance

Last edited by raahul07; 08-31-2011 at 09:47 PM. Reason: urgent
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 08-31-2011, 09:46 PM   #2
raahul07
LQ Newbie
 
Registered: Aug 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
a quick reply will be much appreciated
 
Old 08-31-2011, 09:58 PM   #3
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by raahul07 View Post
i am more worried about stop1 , will it stop on monday 00:00 after sunday 11:59 or or after mon 11:59

also correct me if other assumption are wrong..
thanks in advance
00:00 Monday immediately follows 23:59 Sunday.
 
2 members found this post helpful.
Old 09-01-2011, 11:21 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by raahul07 View Post
a quick reply will be much appreciated
And you not flagging your posts as **URGENT** and expecting people who VOLUNTEER their time to hurry up and answer you would be appreciated as well.

Andrewthomas beat me to the answer.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Cron directories: /var/spool/cron/cron.GfqqGO Woodsman Slackware 4 05-11-2011 02:37 PM
cron.hourly cron.weekly cron.monthly and 0anacron. Are they necessary? glore2002 Debian 2 09-30-2009 08:57 PM
adding a perl script to cron.daily / cron.d to setup a cron job CrontabNewBIE Linux - Software 6 01-14-2008 08:16 AM
cron not working from crontab nor form /etc/cron/cron.d. What did SuSE change? JZL240I-U SUSE / openSUSE 11 01-04-2007 01:57 AM
Can any one plz explain why/what for cron.d, cron.daily, cron.weekly etc are there. mavinashbabu Linux - Newbie 4 09-21-2006 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration