kornshell escribió:¿Cómo has añadido las tareas del cron? ¿Editando el /etc/crontab o con crontab -e?
Eso de cambiar de sitio el crontab me suena raro, /etc/crontab tiene una sintaxis concreta mientras que en /etc/cron.daily lo que pones son directamente los scripts.
Sep 27 07:51:04 admin-pc rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="603" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Sep 27 07:51:06 admin-pc anacron[23554]: Job `cron.daily' terminated
Sep 27 07:51:06 admin-pc anacron[23554]: Normal exit (1 job run)
Sep 27 08:09:01 admin-pc CRON[23800]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Sep 27 08:39:01 admin-pc CRON[23814]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Sep 27 08:59:21 admin-pc dhclient: DHCPREQUEST of 172.XX.XX.XX on eth0 to 172.XX.XX.XX port 67
Sep 27 08:59:21 admin-pc dhclient: DHCPACK of 172.XX.XX.XX from 172.XX.XX.XX
Sep 27 08:59:21 admin-pc dhclient: bound to 172.XX.XX.XX -- renewal in 10233 seconds.
Sep 27 09:09:01 admin-pc CRON[23835]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
55 8,11,15 * * * root cips.sh
16 13 * * * root cips.sh
00 17 * * 5 halt
#
06 10 * * 5 touch /tmp/crontest.txt08 10 * * 5 root touch /tmp/crontest.txt