Skip to contentSkip to conversation

cronie: Added default configuration to crontab

PATCH New Alejandro Hernandez 1 participant 2 messages Nov 19, 2014

lore
Share & tools
lore
#0 lore raw

cover cronie: Added default configuration to crontab

The following changes since commit e038efa6fb8d7f018b145115f35d3a38f28092a8:

cronie: Upgrade to 1.4.12 (2014-11-19 14:56:23 -0600)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib hsalejandro/6644_cronie
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=hsalejandro/6644_cronie

Alejandro Hernandez (1):
cronie: Added default crontab

 meta/recipes-extended/cronie/cronie/crontab   | 6 +++++-
 meta/recipes-extended/cronie/cronie_1.4.12.bb | 3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 cronie: Added default crontab

Added default configuration to crontab, for instructive pruposes

Added /etc/crontab to CONFFILES to avoid overwriting if updating via PMS

[YOCTO 6644]

---
 meta/recipes-extended/cronie/cronie/crontab   | 6 +++++-
 meta/recipes-extended/cronie/cronie_1.4.12.bb | 3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)
meta/recipes-extended/cronie/cronie/crontab +5 -1
index cc9169e..22c4feb 100644
@@ -7,4 +7,8 @@
 SHELL=/bin/sh
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 
-# m h dom mon dow user	command
+#  m  h  dom mon dow user	command
+#  1  *     * * *    root        cd / && run-parts /etc/cron.hourly
+# 30  7     * * *    root        cd / && run-parts /etc/cron.daily
+# 42  7     * * 7    root        cd / && run-parts /etc/cron.weekly
+# 55  7     1 * *    root        cd / && run-parts /etc/cron.monthly
meta/recipes-extended/cronie/cronie_1.4.12.bb +2 -1
index e404756..977332b 100644
@@ -63,7 +63,7 @@ do_install_append () {
 	mkdir -p ${D}${sysconfdir}/cron.weekly
 	mkdir -p ${D}${sysconfdir}/cron.monthly
 	touch ${D}${sysconfdir}/cron.deny
-	
+
 	# below setting is necessary to allow normal user using crontab
 
 	# setgid for crontab binary
@@ -78,3 +78,4 @@ do_install_append () {
 }
 
 FILES_${PN} += "${sysconfdir}/cron*"
+CONFFILES_${PN} += "${sysconfdir}/crontab"
Signature · 1 line
1.9.1