my script is below,and

lynx -mime_header "http://xxxxx.com/testdownload.php";

I am running this every 1 minute like below.

* *    * * *   root    /data/script/myxcript.sh  &> /data/tmp/myscript.log

But its not running,can anyone guide me,how to do it.

有帮助吗?

解决方案

Looks like you are trying to execute this job as root or use the root's crontab. In anycase, you can not do that by simply adding the word root to the cron job.

Try removing the word root and placing the job in root's crontab.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top