<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I know I must be missing something simple.  Yesterday I worked to get the suggested optimize and backup scripts for mythconverg into the cron.daily directory.  I tested each of these scripts by running them as:</p>
<p>sudo /etc/cron.daily/mythtv-backup</p>
<p>sudo /etc/cron.daily/optimize_mythdb</p>
<p>They both worked and I had the backup files where they should be and data in the syslog and /var/log/mythtv/optimize_mythdb.log files to indicate they ran okay.</p>
<p>This morning anacron should have run at 6:25 my 2 daily scripts but it didn't and there is no indication in the syslog of it running. This is what I see at 6:25:</p>
<p><font face="Courier New, Courier, monospace">Jan 14 06:25:01 mythbuntu CRON[11179]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))</font><br>
</p>
<p>I again manually ran the scripts as before and they work.</p>
<p>Any idea on why they may not be running automatically?<br>
</p>
<p>My crontab is below.</p>
<p>Jim A<br>
</p>
<br>
<p>SHELL=/bin/sh<br>
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin<br>
<br>
# m h dom mon dow user    command<br>
17 *    * * *    root    cd / && run-parts --report /etc/cron.hourly<br>
25 6    * * *    root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )<br>
47 6    * * 7    root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )<br>
52 6    1 * *    root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )<br>
#<br>
<br>
</p>
</body>
</html>