Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top