You are not logged in.
Pages: 1
I have cron up and running with various scripts being executed regularly.
However, this a laptop and it is not always running. I would like to scripts that were scheduled to run while the laptop was off to be executed upon system start (say, 10 minutes after system start). How can I achieve it and do I have to move all the cron scripts to this cron alternative?
Last edited by Lockheed (2012-04-28 19:16:28)
Offline
ArchWiki reads:
If you regularly turn off your computer but do not want to miss jobs, there are some solutions available (easiest to hardest):
Does it help?
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
I found cronwhip. It looks like exactly what I was looking for.
Offline
Cronwhip was mentioned in the WiKi (option 2)...
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Afaik the default cron in Arch already does this and comes with anacron.
Offline
I've found fcron to suit my needs on a single-user PC. Like anacron, fcron assumes the computer is not always running and, unlike anacron, it can schedule events at intervals shorter than a single day. Like cronwhip, it can run jobs that should have been run during the computer's downtime. http://fcron.free.fr/index.php
When I installed it from the community repo, the switch from cronie was painless. The pseudo-user, 'systab', was created to own the cron jobs in /etc/cron.hourly, cron.daily, etc. I didn't have to do any reconfiguration for the 'system-owned' cron jobs: very "Ooh, nice!" http://www.gentoo-wiki.info/Fcron
Last edited by thisoldman (2012-04-28 23:33:56)
Offline
For those wanting to get fcron in pair with systemd, these two exemples might be usefull:
- http://comments.gmane.org/gmane.comp.sy … n.devel/66
- Arch FS#31248 - [fcron] Use foreground mode in systemd service file
Last edited by kozaki (2012-11-29 16:44:50)
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery ) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
Pages: 1