Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top