<!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 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>
---<BR>
<BR>
The 'man 5 crontab' entry says:<BR>
---<BR>
# Removed invocation of anacron, as this is now handled by a<BR>
# /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>
'/etc/cron.d/anacron'?<BR>
<BR>
Thanks.<BR>
<BR>
- Mills</FONT>
</P>
</BODY>
</HTML>