asmith Posted January 2, 2008 Share Posted January 2, 2008 i got 2, 3 scripts i want to run each at a certain times, one every day , one every hour and one every minute . in my site cpanel , in cron jobs part, in both "standard" and "advance" sections, it says type your command ... how can i give it my script ? is there any folder for cron to put my scripts there? thanks Quote Link to comment https://forums.phpfreaks.com/topic/84104-cron-jobs/ Share on other sites More sharing options...
trq Posted January 2, 2008 Share Posted January 2, 2008 This thread may help you. Quote Link to comment https://forums.phpfreaks.com/topic/84104-cron-jobs/#findComment-428107 Share on other sites More sharing options...
asmith Posted January 2, 2008 Author Share Posted January 2, 2008 thanks thorpe, i get it , but i can't understand why this address ? i have public_html folder, one folder up of that , will be the main folder which won't go up anymore . how can an address be like this : php /home/[your username]/public_html/rss/import_feeds.php (this address is taken from http://www.upstartblogger.com/how-to-create-a-cron-job-in-cpanel in the thread link you post for me) ?? Quote Link to comment https://forums.phpfreaks.com/topic/84104-cron-jobs/#findComment-428115 Share on other sites More sharing options...
trq Posted January 2, 2008 Share Posted January 2, 2008 I'm not 100% sure what your asking here. /home is where all system users are generally kept. so if you have an account on that server your home directory is likely /home/yourusername Quote Link to comment https://forums.phpfreaks.com/topic/84104-cron-jobs/#findComment-428119 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.