I have setup a cronjob in etc/crontab file as shown below
*/1 * * * * root /var/www/html/crons/check-solr.php
The above line runs a php script after every minute.
I have the stopped the cron using service crond stop and then again started the cron.
But it did not run. The script is not running.
please let me know if I am missing anything.
Regards
Anil
in order for the script to run, it must have execute rights.
keep an eye on your logs in case there is an error