Run CLI with single instance - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Run CLI with single instance (/showthread.php?tid=60963) |
Run CLI with single instance - El Forum - 08-12-2014 [eluser]Unknown[/eluser] I use crontab on linux to run action of codeigniter for, run one minute one time, but sometime this action run take over one minute, so i want at a moment this action running single. How can i do that? Please help me. P/s : i want use shell linux to check it. Run CLI with single instance - El Forum - 08-13-2014 [eluser]CroNiX[/eluser] I'm sorry, I don't understand exactly what you are asking. I understand that you have a cron job that sometimes takes over a minute to run. You seem to be wanting to do something if it does take longer than a minute to run but I don't understand what you mean by "this action running single". Could you explain more? Run CLI with single instance - El Forum - 08-13-2014 [eluser]Unknown[/eluser] Hi CroNIX, I mean, in the same time, there is only one instance of this action is run Run CLI with single instance - El Forum - 08-14-2014 [eluser]ivantcholakov[/eluser] I found something: http://forums.cpanel.net/f5/check-php-cli-process-running-184662.html |