Passing arguments to cron and receive in php


Setting up cron Crons can pass parameters or arguments to scripts as well for example you have example.php set as cron like below Now if you want to pass parameters to example.php in cron you can do it as follow by using key value pairs If you want to send arguments without keys you can … Continue reading Passing arguments to cron and receive in php

How to set php script to cronjob


Cron is a task scheduler which can execute a task on certain intervals, you can add php script to cron to run it on certain time intervals. For example you want to delete temporary files after every 14 days, you write a script to delete temporary files and add that script to cron. How to … Continue reading How to set php script to cronjob