Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] cronie: Added default configuration to crontab
@ 2014-11-19 21:29 Alejandro Hernandez
  2014-11-19 21:29 ` [PATCH 1/1] cronie: Added default crontab Alejandro Hernandez
  0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Hernandez @ 2014-11-19 21:29 UTC (permalink / raw)
  To: openembedded-core

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(-)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] cronie: Added default crontab
  2014-11-19 21:29 [PATCH 0/1] cronie: Added default configuration to crontab Alejandro Hernandez
@ 2014-11-19 21:29 ` Alejandro Hernandez
  0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Hernandez @ 2014-11-19 21:29 UTC (permalink / raw)
  To: openembedded-core

Added default configuration to crontab, for instructive pruposes

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

[YOCTO 6644]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
---
 meta/recipes-extended/cronie/cronie/crontab   | 6 +++++-
 meta/recipes-extended/cronie/cronie_1.4.12.bb | 3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/cronie/cronie/crontab b/meta/recipes-extended/cronie/cronie/crontab
index cc9169e..22c4feb 100644
--- a/meta/recipes-extended/cronie/cronie/crontab
+++ b/meta/recipes-extended/cronie/cronie/crontab
@@ -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
diff --git a/meta/recipes-extended/cronie/cronie_1.4.12.bb b/meta/recipes-extended/cronie/cronie_1.4.12.bb
index e404756..977332b 100644
--- a/meta/recipes-extended/cronie/cronie_1.4.12.bb
+++ b/meta/recipes-extended/cronie/cronie_1.4.12.bb
@@ -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"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-19 21:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-19 21:29 [PATCH 0/1] cronie: Added default configuration to crontab Alejandro Hernandez
2014-11-19 21:29 ` [PATCH 1/1] cronie: Added default crontab Alejandro Hernandez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox