I have 2 pages writing in php, and i want cron job to run the first page 'every hour' and the second page every '24hours in other words mid night'. am using cPanel
I don't know anything about cPanel but the cron job should be ok. Why not add the job with crontab instead of whatever it is that cPanel is/is not doing?
Thanks for your reply! thats really the problem i am having, i have been hearing about "crontab" i dont even know what it is, where its located, how can i locate it,
I ghues that could solve my problem, if i could locate it, and get directions on how i can place this code in there.
Well, to know about cron and crontab, you can simple search this forum or use Google and search the net. Cron is basically a chronograph that executes an executable file at a specific time or times. Crontab is the table (file) that holds instructions for Cron.
Regarding cPanel, you will not find much help on cPanel here. Most people here are UNIX/Linux jockeys who prefer not to use cPanel, and instead they manage their processes from the command line (shell).
That is why I gave you a link (below) to a tutorial on this. I think if you do a bit of homework (search and read) and then review the tutorial, you will be good to go. You can post back if you have specific issues/questions after you do some background reading.