Kyle123 Posted February 25, 2012 Share Posted February 25, 2012 Okay I want to run some code every 24 hours, what would be the best way to do this? Also I don't have root to the server or anything. Quote Link to comment https://forums.phpfreaks.com/topic/257742-running-code-every-24-hours/ Share on other sites More sharing options...
requinix Posted February 25, 2012 Share Posted February 25, 2012 Do you have access to anything related to cron? Quote Link to comment https://forums.phpfreaks.com/topic/257742-running-code-every-24-hours/#findComment-1321039 Share on other sites More sharing options...
killervastu Posted February 25, 2012 Share Posted February 25, 2012 Cron jobs can help you to do that Quote Link to comment https://forums.phpfreaks.com/topic/257742-running-code-every-24-hours/#findComment-1321040 Share on other sites More sharing options...
Kyle123 Posted February 25, 2012 Author Share Posted February 25, 2012 Do you have access to anything related to cron? Â Ummm I don't think so, i'v looked in to cron jobs and I don't think I can... Â Quote Link to comment https://forums.phpfreaks.com/topic/257742-running-code-every-24-hours/#findComment-1321066 Share on other sites More sharing options...
litebearer Posted February 25, 2012 Share Posted February 25, 2012 If you can't use cron - windows task manager can possibly help Quote Link to comment https://forums.phpfreaks.com/topic/257742-running-code-every-24-hours/#findComment-1321074 Share on other sites More sharing options...
Kyle123 Posted February 25, 2012 Author Share Posted February 25, 2012 How? I'v looked into this for about 2 hours now. Quote Link to comment https://forums.phpfreaks.com/topic/257742-running-code-every-24-hours/#findComment-1321083 Share on other sites More sharing options...
zelig Posted February 25, 2012 Share Posted February 25, 2012 Check with your host and see if you can have cronjobs. Not many hosts just come out and say so. I had to ask mine. Much easier if you can run a cronjob. Quote Link to comment https://forums.phpfreaks.com/topic/257742-running-code-every-24-hours/#findComment-1321097 Share on other sites More sharing options...
Kyle123 Posted February 25, 2012 Author Share Posted February 25, 2012 No I don't... Is there any other way? Or can I make a corn job? Quote Link to comment https://forums.phpfreaks.com/topic/257742-running-code-every-24-hours/#findComment-1321100 Share on other sites More sharing options...
litebearer Posted February 25, 2012 Share Posted February 25, 2012 http://www.makeuseof.com/tag/a-free-portable-alternative-to-windows-scheduled-tasks/ Quote Link to comment https://forums.phpfreaks.com/topic/257742-running-code-every-24-hours/#findComment-1321111 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.