Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I recently migrated from vixie-cron to fcron on my laptop. I have a question: how does fcron knows if a particular job was run in given period of time?

As a file can change during running, what constitute a different job? if I change for example from running daily to weekly, will it be re-run?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

During initialization (and at any time a user runs fcrontab -z), fcron loads and compiles the fcrontabs. Fcron then computes the time before the next job execution and sleeps for that time.

The time remaining until next execution is saved each time the system is stopped.

share|improve this answer
    
What about changes in fcrontab? –  Maciej Piechotka Aug 31 '10 at 17:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.