You are not logged in.
Pages: 1
I'm confused about the relationship between crond -- the actual daemon that runs jobs from my various crontabs -- and the various cron programs anacron, cronie, fcron, etc.
Is it to correct to think of the latter programs as mediators between cron and the user -- like anacron manages the cron daemon on my behalf? Or does anacron (or cronie or fcron or whatever) run scheduled jobs entirely independently of crond?
Mostly I'm just curious -- although it is a bit unsettling to be setting up cron jobs when I'm not really sure how all these entities relate.
Thanks!
Last edited by stuvjordan (2012-02-12 13:23:10)
Offline
crond is the name of the cron daemon, it's provided by e.g. cronie and dcron.
Install cronie, check what anacron is - maybe it's just a think wrapper script.
Offline
Dcron, cronie, fcron and vixie-cron are cron implementations. Dcron, cronie and vixie-cron (but not fcron) provide a crond daemon binary, but they implement it in their own way. Anacron was originally a standalone application which was meant to run cron jobs in systems not expected to be always on (thus the jobs are run when the system is actually on). An anacron binary with similar purposes has been included in cronie (which is a dcron derivative, but dcron does not include anacron-like functionalities). Fcron provides anacron-like functionalities thanks to the articulate syntax of its fcrontabs, thus it does need to include a separate anacron binary.
Mortuus in anima, curam gero cutis
Offline
thanks y'all...I think I got it.
Offline
Dcron, cronie, fcron and vixie-cron are cron implementations. Dcron, cronie and vixie-cron (but not fcron) provide a crond daemon binary, but they implement it in their own way. Anacron was originally a standalone application which was meant to run cron jobs in systems not expected to be always on (thus the jobs are run when the system is actually on). An anacron binary with similar purposes has been included in cronie (which is a dcron derivative, but dcron does not include anacron-like functionalities). Fcron provides anacron-like functionalities thanks to the articulate syntax of its fcrontabs, thus it does need to include a separate anacron binary.
Like sweet music!
Offline
An anacron binary with similar purposes has been included in cronie (which is a dcron derivative, but dcron does not include anacron-like functionalities).
dcron does provide anacron like functionality.
Offline
patroclo7 wrote:An anacron binary with similar purposes has been included in cronie (which is a dcron derivative, but dcron does not include anacron-like functionalities).
dcron does provide anacron like functionality.
Do you mean e.g. @daily ?
Offline
@ karol
dcron runs sys-{hourly,daily,weekly,monthly} etc. So yes.
Offline
@x33a
Yes, sorry for the mistake, I had used dcron for the last time in th 3.x series developed by Dillon, and this functionality was absent. It has been introduced by the new developer in 4.0, as far as I see not through an anacron-like binary but through an enrichment of the crontab syntax.
Last edited by patroclo7 (2012-02-13 11:00:09)
Mortuus in anima, curam gero cutis
Offline
@x33a
Yes, sorry for the mistake, I had used dcron for the last time in th 3.x series developed by Dillon, and this functionality was absent.
I thought you were referring to the current version, so that explains.
It has been introduced by the new developer in 4.0, as far as I see not through an anacron-like binary but through an enrichment of the crontab syntax.
Yes there is no bundling of an anacron binary, like i think cronie does.
Offline
Pages: 1