cron doesn't run commands in /etc/crontab?

2007-03-28 Thread Will Maier
According to cron(8), cron should be able to read commands from a properly formatted and chmoded /etc/crontab file. I've created such a file, but I can't seem to get cron to run the test command in it. # cat EOF /etc/crontab */1 * * * * /usr/bin/touch

Re: cron doesn't run commands in /etc/crontab?

2007-03-28 Thread Paul de Weerd
On Wed, Mar 28, 2007 at 08:41:34AM -0500, Will Maier wrote: | According to cron(8), cron should be able to read commands from a | properly formatted and chmoded /etc/crontab file. I've created such | a file, but I can't seem to get cron to run the test command in it. | | # cat EOF

Re: cron doesn't run commands in /etc/crontab?

2007-03-28 Thread Stuart Henderson
On 2007/03/28 08:41, Will Maier wrote: According to cron(8), cron should be able to read commands from a properly formatted and chmoded /etc/crontab file. I've created such a file, but I can't seem to get cron to run the test command in it. # cat EOF /etc/crontab */1 * *

Re: cron doesn't run commands in /etc/crontab?

2007-03-28 Thread Otto Moerbeek
On Wed, 28 Mar 2007, Will Maier wrote: According to cron(8), cron should be able to read commands from a properly formatted and chmoded /etc/crontab file. I've created such a file, but I can't seem to get cron to run the test command in it. # cat EOF /etc/crontab */1 *

Re: cron doesn't run commands in /etc/crontab?

2007-03-28 Thread Lars D . Noodén
Feel free to laugh if this is a stupid question, but have you made sure to leave an extra empty line at the end of the crontab? Are you in /var/cron/cron.allow ? Also, I usually pack everything into a script and then have cron call the script. It makes verbose comments and multi-line commands

Re: cron doesn't run commands in /etc/crontab?

2007-03-28 Thread Will Maier
On Wed, Mar 28, 2007 at 03:58:35PM +0200, Paul de Weerd wrote: Reread crontab(5), the /etc/crontab has a slightly different format (to specify username). Oh. ;) Quite right -- thanks for the cluestick. -- o--{ Will Maier }--o |

Re: cron doesn't run commands in /etc/crontab?

2007-03-28 Thread Peter Strömberg
On 28 Mar 2007 at 8:41, Will Maier wrote: According to cron(8), cron should be able to read commands from a properly formatted and chmoded /etc/crontab file. I've created such a file, but I can't seem to get cron to run the test command in it. # cat EOF /etc/crontab */1 *