flamey Posted June 4, 2006 Share Posted June 4, 2006 im need to setup a cron job to run maintanance script for phpAdsNew. all examples they list in their doc are using wget, linx, curl and fetch. i've searched the forums and it looks like wget, linx and curl are disabled, and i guess fetch would be too. so how do i run that script? the command i've used on my previous host was: /usr/bin/wget -q -O /dev/null http://www.mydoamin.org/adsnewdir/maintena...maintenance.php what command do i enter in CPanel ? tia Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted June 4, 2006 Share Posted June 4, 2006 I would try this: >/usr/bin/php -q /home/yourCpanelID/public_html/path-to-script Quote Link to comment Share on other sites More sharing options...
flamey Posted June 4, 2006 Author Share Posted June 4, 2006 looks like its working! thanks! Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted June 4, 2006 Share Posted June 4, 2006 Great! Glad I could help. Quote Link to comment 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.