H
H
hdtor2016-02-21 18:38:20
linux
hdtor, 2016-02-21 18:38:20

Why is cron not working?

There is a server on CentOS.
You need to install crons so that cron is executed every minute at var/www/html/1.php
In etc/crontab entered - */1 * * * * /usr/bin/php /var/www/html/1.php > /dev/null 2>&1
But for some reason it doesn't work. What is the problem?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
AntonMZ, 2016-02-21
@AntonMZ

what does the cron log in /var/log/cron say?
and is there any confidence that you have chosen the right place to "write in" the team?

I
Igor Nikolaev, 2016-02-21
@nightvich

superuser.com/questions/290093/difference-between-...

A
Alexander Sharihin, 2016-02-21
@Pinsky

Is there a last empty line?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question