Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Együd Csaba
Hi All, I have a problem with a crontab job. My shell script which I want to run every day is the following: -- $ cat alumil_daily.sh #!/bin/bash echo Daily VACUUM ... | gzip /home/alumil/vdblog.gz echo

RE: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Bob Buckley
check the shell type sh or bash... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Együd Csaba Sent: Thursday, July 17, 2003 8:10 AM To: redhat-list Subject: Crontab - won't work from crontab but from command line (???) Hi All, I have a problem

RE: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Bob Buckley
Also check the root mail file for error messages. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Együd Csaba Sent: Thursday, July 17, 2003 8:10 AM To: redhat-list Subject: Crontab - won't work from crontab but from command line (???) Hi All, I have

Re: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Bret Hughes
On Thu, 2003-07-17 at 08:09, Együd Csaba wrote: Hi All, I have a problem with a crontab job. My shell script which I want to run every day is the following: -- $ cat alumil_daily.sh #!/bin/bash

Re: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Mark Neidorff
On Thu, 17 Jul 2003, [iso-8859-1] Együd Csaba wrote: Hi All, I have a problem with a crontab job. My shell script which I want to run every day is the following: -- $ cat alumil_daily.sh My

Re: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Ian Mortimer
* * * * * /home/alumil/alumil_daily.sh Do you really want this to run every minute? When I run alumil_daily.sh from command line it creates the output file properly. Running it from crontab the generated output file is empty, as if the database dump program would not provide any output.

Re: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Michael Mansour
You're missing something crucial, the _user_ to run the cron command as. Should be something like: * * * * * root /home/alumil/alumil_daily.sh Michael. --- Ian Mortimer [EMAIL PROTECTED] wrote: * * * * * /home/alumil/alumil_daily.sh Do you really want this to run every minute? When I

Re: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Ian Mortimer
You're missing something crucial, the _user_ to run the cron command as. Should be something like: * * * * * root /home/alumil/alumil_daily.sh Not in a crontab. Possibly you're thinking of an entry in /etc/cron.d In a crontab the user who owns the crontab determines who the cron job runs

Re: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Bret Hughes
On Thu, 2003-07-17 at 18:57, Ian Mortimer wrote: You're missing something crucial, the _user_ to run the cron command as. Should be something like: * * * * * root /home/alumil/alumil_daily.sh Not in a crontab. Possibly you're thinking of an entry in /etc/cron.d In a crontab the user