On Friday, May 29, 2015 18:12:52 meino.cra...@gmx.de wrote:
> What I want is, that fcron executes a script every 14 days. It does
> not matter, when to execute the script, since I cannot guarantee that
> my PC is running exactly at that time.

I've got a similar cron I run for backups (daily rather than bi-weekly) but it 
looks like this:

%nightly,bootrun,random * 2-4 CMD

What this tells fcron is to run nightly (meaning only one run is allowed in an 
evening, run at boot if it hasn't run and I just booted in the period, and 
randomly select a time between 2:00 and 4:00.  Works great for my needs and if 
one is missed it gets picked up at boot as it should.

Hope that helps but if not there's more in the man page:

http://fcron.free.fr/doc/en/fcrontab.5.html

Regards,

-- 
Alex Brandt
Software Developer for Rackspace and Developer for Gentoo
http://blog.alunduil.com


Reply via email to