septrax Posted August 18, 2008 Share Posted August 18, 2008 Hi everybody I need some help to setup cron I have tested it works without any problems if i run it manuall But i want them to run automatic ofc Everything is hosted on my own server so i have no cpanel Any idea how to get it work ? Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted August 18, 2008 Share Posted August 18, 2008 Re: Cron Setup Search the forums -- there is plenty of information on this. Assuming you are running a *nix server - after all, what madman would permit a windows box to be visible to the outside world ;) - try man crontab man 5 crontab (IIRC) from the command line for more information on cron tables. Quote Link to comment Share on other sites More sharing options...
septrax Posted August 18, 2008 Author Share Posted August 18, 2008 Re: Cron Setup wow ok thanks i will look around more then :) Quote Link to comment Share on other sites More sharing options...
septrax Posted August 18, 2008 Author Share Posted August 18, 2008 Re: Cron Setup Ok so my cron should work now not sure tought i saw one posted how to tets but i cant find the post again Was something with the ulr to the cron file and then the long code that are in config does anybody understand what i mean ? Do i test it that way ? Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted August 18, 2008 Share Posted August 18, 2008 Re: Cron Setup My crontabs are pretty basic (on the odd occasion I actually need them) Notice the full path to both the executable AND the job #+--------------------------------- Minute #| +---------------------------- Hour #| | +---------------------- Day #| | | +---------------- Month #| | | | +---------- Day of Week #| | | | | +---- Job #| | | | | | * * * * * /usr/local/bin/php -f /home/nyna/www/test/crons/1m.php */5 * * * * /usr/local/bin/php -f /home/nyna/www/test/crons/5m.php */15 * * * * /usr/local/bin/php -f /home/nyna/www/test/crons/15m.php 0 * * * * /usr/local/bin/php -f /home/nyna/www/test/crons/1h.php 0 0 * * * /usr/local/bin/php -f /home/nyna/www/test/crons/1d.php Thats: 1m - run every minute 5m - run every minutes 15m - run every 15 minutes 1h - run every hour 1d - run every day Quote Link to comment Share on other sites More sharing options...
septrax Posted August 18, 2008 Author Share Posted August 18, 2008 Re: Cron Setup Well the crons i alredy have i just need to test so my cron setup work And as is said i saw someone post how to test it but now i cant find the post again Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted August 18, 2008 Share Posted August 18, 2008 Re: Cron Setup its not that hard all you do is type in the url....damn Quote Link to comment Share on other sites More sharing options...
septrax Posted August 18, 2008 Author Share Posted August 18, 2008 Re: Cron Setup No i cant just type in the url and try the game becuse i need to test if the crons are right and like i said 2 times now i found a post that i could point my url to something and then the long code in congif and i would see if it worked but no i cant find that post so never mind instead i look until i find it so problem solved 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.