List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:April 15 2002 7:57pm
Subject:Re: cron job help running mysql/php script
View as plain text  
crontab -l
will list your current crontab entry.

Cron is not running your job from a browser.

If it won't run from your unix

$

prompt, it won't run from cron.

Harpreet Kaur wrote:

> I am trying different options but everytime i make a change and type 
> crontab mycron.txt in telnet it comes to the next promp without an 
> error message. But it doesnot do what i want it to do. How can i even 
> test if the cron tab is finding the file. Like the php file runs fine 
> when run from a browser. But nothing is happening no matter what i 
> cange in mycron.txt file.
>
> Help is appreciated . please refer me to a tutorial where i can start 
> form scratch as this is my first cron job.
>
> my mycron.txt file has the following one single line.
> * * * * * /home/harpreet/crontest.php
>
> I have the crontest.php file and the mycron.txt file 
> under/home/harpreet folder.
>
> Thanks,
>
> Regards,
> Harpreet Kaur
>
>
>
>
>> From: "Steven Deaton" <deaton@stripped>
>> To: "Harpreet Kaur" <harpreetnc@stripped>, <keith@stripped>, 
>> <mysql@stripped>
>> Subject: Re: cron job help running mysql/php script
>> Date: Fri, 12 Apr 2002 14:06:56 -0700
>>
>> You might try a lynx --dump ??
>>
>> ---Steven Deaton
>>
>> ----- Original Message -----
>> From: Harpreet Kaur <harpreetnc@stripped>
>> To: <keith@stripped>; <mysql@stripped>
>> Sent: Friday, April 12, 2002 1:52 PM
>> Subject: cron job help running mysql/php script
>>
>>
>> > I wrote my first cron job to run a php script once every minute.
>> >
>> > The command i wrote is as follows:
>> > * * * * * * lynx http://domain ip address/scripts/crontest.php
>> >
>> > It doesnt seem to work as i tell it to populate the log table in the
>> > database. It runs fine when run through the browser.
>> >
>> > Where am i going wrong? I saved the above line in a text file and 
>> put in
>> my
>> > home directory.
>> >
>> > Please help.
>> >
>> > Regards,
>> > Harpreet
>> > mysql cron help
>> >
>> >
>> >
>> > _________________________________________________________________
>> > Send and receive Hotmail on your mobile device: http://mobile.msn.com
>> >
>> >
>> > ---------------------------------------------------------------------
>> > Before posting, please check:
>> > http://www.mysql.com/manual.php (the manual)
>> > http://lists.mysql.com/ (the list archive)
>> >
>> > To request this thread, e-mail <mysql-thread106028@stripped>
>> > To unsubscribe, e-mail
>> <mysql-unsubscribe-deaton=apollointeractive.com@stripped>
>> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>> >
>>
>>
>> ---------------------------------------------------------------------
>> Before posting, please check:
>> http://www.mysql.com/manual.php (the manual)
>> http://lists.mysql.com/ (the list archive)
>>
>> To request this thread, e-mail <mysql-thread106030@stripped>
>> To unsubscribe, e-mail 
>> <mysql-unsubscribe-harpreetnc=hotmail.com@stripped>
>> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>>
>
>
>
>
> _________________________________________________________________
> Join the world's largest e-mail service with MSN Hotmail. 
> http://www.hotmail.com
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <mysql-thread106191@stripped>
> To unsubscribe, e-mail 
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>


Thread
cron job help running mysql/php scriptHarpreet Kaur12 Apr
  • Re: cron job help running mysql/php scriptSteven Deaton12 Apr
Re: cron job help running mysql/php scriptHarpreet Kaur15 Apr
  • Re: cron job help running mysql/php scriptGerald Clark15 Apr