Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd September 2012, 09:09 PM
foampile Offline
Registered User
 
Join Date: Jan 2012
Location: Washington, DC
Posts: 157
linuxfirefox
will crontab start a job if the previous execution is running?

in the simplest configuration format, i was wondering if crontab will start a job if the previous execution is still running?

thanks
Reply With Quote
  #2  
Old 23rd September 2012, 09:38 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,298
linuxfirefox
Re: will crontab start a job if the previous execution is running?

Yes. crontab just exec's the job. If you don't want that behavior you should write your task to determine if another copy is already running. A pid file is the traditional technique.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #3  
Old 23rd September 2012, 09:39 PM
hmmsjan Online
Registered User
 
Join Date: Jun 2009
Location: Alkmaar The Netherlands
Posts: 193
linuxubuntufirefox
Re: will crontab start a job if the previous execution is running?

Dear foampile.

Just tried with a script which sleeps a bit.
The answer appears to be yes

Good luck
__________________
H.Janssen
Alkmaar
The Netherlands
Reply With Quote
  #4  
Old 24th September 2012, 02:17 AM
foampile Offline
Registered User
 
Join Date: Jan 2012
Location: Washington, DC
Posts: 157
linuxfirefox
Re: will crontab start a job if the previous execution is running?

yeah, that's what i thought
Reply With Quote
Reply

Tags
crontab, execution, job, previous, running, start

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
execution reports for crontab foampile Using Fedora 2 24th September 2012 02:55 PM
when does the first crontab execution occur? foampile Using Fedora 2 23rd September 2012 08:51 PM
running previous versions of kernel foampile Using Fedora 0 13th April 2012 07:23 AM
running script using crontab mailsatish Using Fedora 7 31st July 2010 10:23 AM
crontab not running perl scripts? Spydaw Using Fedora 5 31st May 2005 09:15 AM


Current GMT-time: 07:12 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat