> I have honestly looked at several online examples and tutorials , but still > not working for me. > > I am trying to run the daily email report and wirehub update once every 24 > hours, here is what I have in my /etc/crontab file: > > * * 24 * * root /etc/postfix/mailreport.sh > * * 24 * * root /etc/postfix/wirehub.sh > > I save and do a "crontab crontab" but nothing has happened in the last 48 > hours. I have also tried hourly, every minute, but I think im just not > getting those date variables at all.
You are saying run every 24 hours after every hour, which is not what you want. You need to give it a time to run at, not just every 24 hours, to be most effective. crontab -l MAILTO="" 5 3 * * * /usr/local/bin/mailreport.sh 25 3 * * * /usr/local/bin/wirehub.sh 25 3 * * sun /usr/local/bin/unk2ip.sh --Eric
