Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to run php file every hour using cronjab

0 * * * * root /usr/bin/lynx -dump http://mydomain.com/weeklyreport.php

I put this line in etc/crontab. I do not get any mail.

Weeklyreport is to generate and send it to my mail id.

If you know pls advise crontab what is wrong

share|improve this question
    
possible duplicate of Cronjob weekly report on fedora core 6 –  theotherreceive Jun 28 '10 at 12:31

1 Answer 1

Remove your current cronjob, and try using this command to edit your cron jobs:

crontab -e
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.