質問

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