[opensuse] Any fcron users

Has anyone used fcron from the OpenSuSE Build Service? My laptop isn't on 24x7 or even reliably on at any given time in the day. There are several jobs that need to be run every day. TIA, Jeffrey Fcron is a scheduler. It aims at replacing Vixie Cron, so it implements most of its functionalities. But contrary to Vixie Cron, fcron does not need your system to be up 7 days a week, 24 hours a day: it also works well with systems which are not running neither all the time nor regularly (contrary to anacrontab). In other words, fcron does both the job of Vixie Cron and anacron, but does even more and better :)) ... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2007-12-27 at 17:11 -0600, Jeffrey L. Taylor wrote:
Then you can create an script in /etc/cron.daily/ - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHdFfxtTMYHG2NR9URAnifAJ97exFfz6ocTq3myP1zndopfWXQ8wCeKu2d /mM0a9PToZQJxiX7qpxvb2k= =ts8N -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thursday 27 December 2007 08:58:07 pm Jeffrey L. Taylor wrote:
Once before it was running 15 min after boot if it missed schedule. I don't know about wake from suspend. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thursday 27 December 2007 21:41, Rajko M. wrote:
In general though, this takes scripting... which suse has done for you. Typically cron will only run if the machine is on, and only at the specified times. The scripting works by having cron check every 15 minutes and then against a directory called /var/spool/cron/lastrun for files that have been touched... like cron.daily. If the cron.daily file exists then its been run, otherwise run it. -- Kind regards, M Harris <>< -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

Rajko M. wrote:
yes, the /etc/cron.{hourly,daily,weekly,monthly} scripts each touch a file, and then test the time that the file was last touched to see if it should be run again.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2007-12-27 at 20:58 -0600, Jeffrey L. Taylor wrote:
Yes. It will run when you awake it, if at least 24 hours have passed since the last time it run. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHdNh6tTMYHG2NR9URAvJzAJwPU70u7IoP+f4ym+Z9GyuR8J4cCwCeI/es Ip8o+FZgr3G8Te1EU6Jq1UU= =Fb+2 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

Quoting Carlos E. R. <robin.listas@telefonica.net>:
It appears have run several minutes after wakeup. From reading man pages, it appears the lastrun file check is every 15 minutes. Thanks all, Jeffrey -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

Jeffrey L. Taylor wrote:
I believe you can make that more frequent by modifying root's crontab. As I recall, the lastrun file is checked by a script which is started by a crontab entry. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2007-12-28 at 22:24 -0600, Jeffrey L. Taylor wrote:
The check, yes. The actual run of the scripts, depends. In the file /etc/sysconfig/cron there are some variables to adjust the hour preferred. For instance: # At which time cron.daily should start. Default is 15 minutes after booting # the system. Due to the fact that cron script runs only every 15 minutes, # it will only run on xx:00, xx:15, xx:30, xx:45, not at the accurate time # you set. DAILY_TIME="" # Maximum days not running when using a fixed time set in DAILY_TIME. # 0 to skip this. This is for users who will power off their system. # # There is a fixed max. of 14 days set, if you want to override this # change MAX_NOT_RUN_FORCE in /usr/lib/cron/run-crons MAX_NOT_RUN="5" So, say, you can tell it to run at 22 hours every night; but if the machine is off 5 days on a row at that hour, it will run at most 15 minutes after boot (or awakening). I would prefer the DAILY_TIME be a range of hours, not a single hour. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHdi8DtTMYHG2NR9URAjR7AJsHYJ95GGnfj4j0aARhE63Epeh+rQCfZYws DvtNTmG8hvf81tLCsIp4oLU= =Ar76 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2007-12-27 at 17:11 -0600, Jeffrey L. Taylor wrote:
Then you can create an script in /etc/cron.daily/ - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHdFfxtTMYHG2NR9URAnifAJ97exFfz6ocTq3myP1zndopfWXQ8wCeKu2d /mM0a9PToZQJxiX7qpxvb2k= =ts8N -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thursday 27 December 2007 08:58:07 pm Jeffrey L. Taylor wrote:
Once before it was running 15 min after boot if it missed schedule. I don't know about wake from suspend. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thursday 27 December 2007 21:41, Rajko M. wrote:
In general though, this takes scripting... which suse has done for you. Typically cron will only run if the machine is on, and only at the specified times. The scripting works by having cron check every 15 minutes and then against a directory called /var/spool/cron/lastrun for files that have been touched... like cron.daily. If the cron.daily file exists then its been run, otherwise run it. -- Kind regards, M Harris <>< -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

Rajko M. wrote:
yes, the /etc/cron.{hourly,daily,weekly,monthly} scripts each touch a file, and then test the time that the file was last touched to see if it should be run again.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2007-12-27 at 20:58 -0600, Jeffrey L. Taylor wrote:
Yes. It will run when you awake it, if at least 24 hours have passed since the last time it run. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHdNh6tTMYHG2NR9URAvJzAJwPU70u7IoP+f4ym+Z9GyuR8J4cCwCeI/es Ip8o+FZgr3G8Te1EU6Jq1UU= =Fb+2 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Aaron Kulkis
-
Carlos E. R.
-
Jeffrey L. Taylor
-
M Harris
-
Rajko M.