Report this

What is the reason for this report?

Why Cron not working?

Posted on November 14, 2013

I am up CentOS 6.

Write to /etc/crontab 2 tasks:

#=========================== SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/

run-parts

*/5 * * * * sh /etc/sphinx/restart.sh */1 * * * * touch /etc/sphinx/test_restart.sh #===========================

Execute >crond start

But appears that as if cron it does not start task. With the aid of the touch I check it did change the time of access to the file.

What I do make wrong?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.