Hi All,
how are you ?
I've question about CRON ! .. is there any possible to make cron from php itself ? without change anything in Linux ?
about cron , is it possible to run it in php ?
Moderator: General Moderators
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: about cron , is it possible to run it in php ?
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: about cron , is it possible to run it in php ?
Just an FYI -- you can't setup a cron job without changing anything in linux. The above tool needs permission with exec or shell_exec to work and it runs crontab in the shell to schedule the job. If your question is about making a script that can schedule itself to run, no it can't be done. You have to use crontab (or a tool that runs crontab) to schedule the server to run your script.
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: about cron , is it possible to run it in php ?
Yeah that's what i thought but i wasn't completely sure about itEric! wrote:Just an FYI -- you can't setup a cron job without changing anything in linux.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: about cron , is it possible to run it in php ?
Thanks guys ..
I'm now little disappoint ... thank you Eric! about your information ..
i really wish that php would support timers...
I'm now little disappoint ... thank you Eric! about your information ..
i really wish that php would support timers...