modernmafia Posted November 10, 2011 Share Posted November 10, 2011 Currently being working on my site with these base codes i have come to a hurdle though i need to add cron jobs im using cpanel accelerated 2 and i have no idea how to add cron job / easiest way this is where the site is located/cron folder mysitename.com/cronlock/cronnamehere.php Quote Link to comment Share on other sites More sharing options...
URBANZ Posted November 10, 2011 Share Posted November 10, 2011 the link for cron jobs is in ur main cpanel page if you was asking that but if not to add cron jobs to the panel u can use multiple commands best one to use is CURL first set the time of all your cron job intervals in cpanel 2 there should be dropdown boxes for easy selection then imput cron like this curl http://domain.com/crondir/cronfile.php and plus any code that would be needed to access the cron Quote Link to comment Share on other sites More sharing options...
modernmafia Posted November 10, 2011 Author Share Posted November 10, 2011 so basically if i had a bulletcron that updated bullets in fctorys i would have to run a cron for bf.php too ?? Quote Link to comment Share on other sites More sharing options...
URBANZ Posted November 10, 2011 Share Posted November 10, 2011 yes anything that updates stuff to database like energy ect or bullets then you have to run the crons for that function to work Quote Link to comment Share on other sites More sharing options...
modernmafia Posted November 11, 2011 Author Share Posted November 11, 2011 i found this works php -q /home/serverpath/script/file.php* 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.