You are here: Re: [PHP] question about a cron job « PHP « IT news, forums, messages
Re: [PHP] question about a cron job

Posted by Jochem Maas on 01/17/05 20:46

Michael Sims wrote:
> Jochem Maas wrote:
>
>>Michael Sims wrote:
>>
>>>"Additionally, cron checks each minute to see if its spool
>>>directory's modtime (or the modtime on /etc/crontab) has changed,
>>>and if it has, cron will then examine the modtime on all crontabs
>>>and reload those which have changed. Thus cron need not be
>>>restarted whenever a crontab file is modified."
>>
>>say you change the crontab (do a save) in minute 2:49pm, then the file
>>will be checked and reloaded, by the time that thats complete it will
>>be passed 3:00:00pm (or more precisely after the jobtrigger was run),
>>maybe what was meant was; that the 'everyminute' job would therefore
>>trigger for the first time when cron checks jobs on 3:01:00pm?
>
>
> Oh, I see. At any rate, once it starts running at 3:01 it should then run every
> minute from that point forward until it's removed from the crontab. I'm not sure
> that the OP was getting that point. (BTW, I think you meant 2:59pm unless you've

typo.

they did this people skills thing once at a company I worked for, and
one of the things they did was to get people to close the eye for
exactly 1 minute, I sat there for about 2mins - everyone thought it was
very funny. guess I've slowed down (and become more eratic) with age ;-)

> got some really slow transfer rates on your hard drives. :)

or I have a php script designed to hog exactly 99% of all resources for
no reason :-) for ten minutes, set in cron to run every hour at 49 mins
past. hihi

>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация