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" <[EMAIL PROTECTED]> >> To: "Harpreet Kaur" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, >> <[EMAIL PROTECTED]> >> 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 <[EMAIL PROTECTED]> >> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >> 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 <[EMAIL PROTECTED]> >> > To unsubscribe, e-mail >> <[EMAIL PROTECTED]> >> > 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 <[EMAIL PROTECTED]> >> To unsubscribe, e-mail >> <[EMAIL PROTECTED]> >> 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 <[EMAIL PROTECTED]> > To unsubscribe, e-mail > <[EMAIL PROTECTED]> > 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 <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php