LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Crontab (https://www.linuxquestions.org/questions/linux-newbie-8/crontab-525891/)

JunaidAli 02-05-2007 06:30 PM

Crontab
 
Hi All,

I have edited crontab with following credentials...

30 14 * * * /usr/local/bin/php -f /web/disk1/virtual/xxx.com/accounts/xxx/htdocs/beta/cron/index.php

But i am not able to see results from this page
This page should add a record to a table


Junaid Ali

dgar 02-05-2007 08:55 PM

Try catching errors in a log file.
Add " > /tmp/cronlog 2>&1 &" to the end of the job.

Come to think of it, it should be mailing these errors to root. Do you have root aliased to your email address?
What's the size of /var/spool/mail/root ?

kbalavignesh 02-06-2007 03:16 AM

Is this working in CL ?

Try to run as root from CL with full path like
#/usr/local/bin/php -f/web/disk1/virtual/xxx.com/accounts/xxx/htdocs/beta/cron/index.php

Show the corresponding logs from "/var/log/cron" logfile

michaelk 02-06-2007 11:57 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

JunaidAli 02-06-2007 05:02 PM

I was not getting resoponse on this topic i opened it to other place

http://www.linuxquestions.org/questi...d.php?t=525897

Tinkster 02-06-2007 06:36 PM

After having waited for an increbible 22 minutes! That's just amazing.
But you did read the rules when you signed up?


All times are GMT -5. The time now is 05:51 PM.