Frage

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.

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top