<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Q: cron.daily in ubuntu-9.04</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>ALErs -<BR>
<BR>
<BR>
<BR>
I have a cron script that runs properly in '/etc/cron.hourly' but is not run in '/etc/cron.daily'<BR>
<BR>
The respective entries in '/etc/crontab' are:<BR>
---<BR>
# m h dom mon dow user&nbsp; command<BR>
17 *&nbsp;&nbsp;&nbsp; * * *&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp; cd / &amp;&amp; run-parts --report /etc/cron.hourly<BR>
25 6&nbsp;&nbsp;&nbsp; * * *&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp; test -x /usr/sbin/anacron || ( cd / &amp;&amp; run-parts --report /etc/cron.daily )<BR>
---<BR>
<BR>
The 'man 5 crontab' entry says:<BR>
---<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Removed invocation of anacron, as this is now handled by a<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # /etc/cron.d file<BR>
---<BR>
<BR>
This looks to be the case in my installation, too.<BR>
<BR>
Question:<BR>
Can I remove the 'anacron' invocation in '/etc/crontab' and expect the tasks will be handled correctly by<BR>
&nbsp;'/etc/cron.d/anacron'?<BR>
<BR>
Thanks.<BR>
<BR>
&nbsp;- Mills</FONT>
</P>

</BODY>
</HTML>