How to run a .php file over and over...cron perhaps? -


i have php file calls exec() on c++ exe.when .exe finishing running need run php file again,repeat .

i wondering best way this? .php file has no user interaction , needs automated.

edit:found solution kill process if running cover issue well.see posts on page.

http://php.net/manual/en/function.getmypid.php

i haven't used codeigniter before there seems solution described in wiki.

depending on how can access system (if admin or not) , depending on how planning update automated commands, imho, use both solution (linux crontab or codeigniter cron script).


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -