Current location: Hot Scripts Forums » Programming Languages » PHP » cron job


cron job

Reply
  #1 (permalink)  
Old 08-25-03, 08:03 AM
superman's Avatar
superman superman is offline
Newbie Coder
 
Join Date: Jun 2003
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
cron job

i put all the PHP file inside this directory

http://10.1.1.200/B0300549/public_html/phpweb/cron.php

the cron.php is the page that i need to run


if i want to run the cron.php once a year (every January), is it the correct way that i wrote?

crontab -e
* * * 1 * php /10.1.1.200/B0300549/public_html/phpweb/cron.php


then, am i need to put this line on top of the cron.php

#!/10.1.1.200/B0300549/public_html/phpweb/php
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
counter superman PHP 11 08-14-03 09:38 AM


All times are GMT -5. The time now is 05:38 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.