Can't make crontab work
I am new to Linux and Ubuntu and I rarely have to use it. I'm trying to make this PHP script run every minute using cron, but I would like to do some tests first.
I created an empty file
under the name
. I launched terminal:
sudo crontab -e
And added this line:
0 * * * * rm /var/www/html/test
Then they saved it and went out. He said: Installing a new Crontab "
Nothing happened. Then I created a bfile.sh file containing:
and added the following to the crontab:
0 * * * * bash /var/www/html/bfile.sh
Still nothing happened.
What do I need to do to see anything coming from the crontab? By the way, I checked and the service is running
source to share