How can i set a cron job programatically ,
we made a installer for our project and on the installation time i need to set a cron job programatically with PHP.
Please note that the project can be running on LINUX/WINDOWS ,
how can i achieve that ? or is there any better option than CRON JOB.
I am using Codeigniter(Native php based solutions are always welcome , but it will be very helpful if it is through CI)
THE cron job includes
Thanks.
Here is a nice article for managing your Cron jobs from PHP
http://net.tutsplus.com/tutorials/php/managing-cron-jobs-with-php-2/
this example contain full description of how to write a Cron job from PHP which is manageable from interface with complete source code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With