0
I have a file in /var/www/sample/index.php. The php file will add text to sample.txt file.
Now I want to automate this by cronjob in CentOS.
I have added my cron code in /etc/crontab as following:
* * * * * root var/www/sample/index.php
But the above cron is not running.
Any guesses on why ...