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
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
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 * *
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 *
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
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
|
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 *
7 matches
Mail list logo