niza Posted April 27, 2006 Share Posted April 27, 2006 I am trying to setup a cron job for my website, after this tutorial:[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]Type crontab -eOk now type 'i' and input something similar to: 30 * * * * /home/virtual/site/fst/var/www/html/cron.php. Now push Escape then type :wq (it tells it to write the changes and then quit). It should say 'installing new crontab'. [/quote]I did all of this,the message"installing new crontab" showed up but for some reason it does not work. Anyone has any ideas? Do I need to put a code in my script cron.php?Thanks Quote Link to comment https://forums.phpfreaks.com/topic/8516-trying-to-setup-a-cron-job/ Share on other sites More sharing options...
.josh Posted April 27, 2006 Share Posted April 27, 2006 are you trying to setup a cron job through shell access prompt? do you have access to cpanel? because it is pretty easy to do it through cpanel. Quote Link to comment https://forums.phpfreaks.com/topic/8516-trying-to-setup-a-cron-job/#findComment-31212 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.