From 40eeadbde0d91bf1028bb5e655f1428953ee66dd Mon Sep 17 00:00:00 2001 From: luke Date: Sun, 18 Mar 2007 18:18:34 +0000 Subject: Adding example cron tab from #492 and making the read/write tests ignore whitespace. This cron now parses successfully, as I thought it would with the move to providers. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2291 980ebf18-57e1-0310-9a29-db15c13687c0 --- test/data/providers/cron/examples/openbsd | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/data/providers/cron/examples/openbsd (limited to 'test/data') diff --git a/test/data/providers/cron/examples/openbsd b/test/data/providers/cron/examples/openbsd new file mode 100644 index 000000000..d77597da0 --- /dev/null +++ b/test/data/providers/cron/examples/openbsd @@ -0,0 +1,20 @@ +# +SHELL=/bin/sh +PATH=/bin:/sbin:/usr/bin:/usr/sbin +HOME=/var/log +# +#minute hour mday month wday command +# +# sendmail clientmqueue runner +*/30 * * * * /usr/sbin/sendmail -L sm-msp-queue -Ac -q +# +# rotate log files every hour, if necessary +0 * * * * /usr/bin/newsyslog +# send log file notifications, if necessary +#1-59 * * * * /usr/bin/newsyslog -m +# +# do daily/weekly/monthly maintenance +30 1 * * * /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | mail -s "`/bin/hostname` daily output" root +30 3 * * 6 /bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | mail -s "`/bin/hostname` weekly output" root +30 5 1 * * /bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | mail -s "`/bin/hostname` monthly output" root +#0 * * * * /usr/libexec/spamd-setup -- cgit