kryles Posted October 30, 2007 Posted October 30, 2007 Hi, I just want to run a cronjob that can update a table of mine. Would i do this in a bash script or a php file? At "Command to run" do i just do ./scriptName? I could use some tips here lol. Thanks, Quote
TCH-Bruce Posted October 30, 2007 Posted October 30, 2007 Create your php file and place it somewhere within you account. When creating the cron job in cPanel enter the command to run such as this. >/usr/bin/php -q /home/your-TCH-username/path-to-script Movie tutorial How to create a Cron job. Quote
kryles Posted October 30, 2007 Author Posted October 30, 2007 Create your php file and place it somewhere within you account. When creating the cron job in cPanel enter the command to run such as this. >/usr/bin/php -q /home/your-TCH-username/path-to-script Movie tutorial How to create a Cron job. Thanks, I googled an answer before seeing the reply to this (I didnt get any email notification even though it is enabled for the thread ). What I googled looks similar to your answer though. >php -q /home/username/public_html/scriptname > /dev/null Thanks Quote
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.