cron.daily bash scripting question



I created the text file below, wrote it to /etc/cron.daily/aide and
made it readable, writeable. and executable by root (same permissions as
other scripts in /etc/cron.daily/). Is this all I need to do have this
bash script run daily? Or do I need to edit some special cron file of some
sort? Does the syntab look ok in this file? This is my first attempt at a
cron job using a bash script. (email address is of course bogus). Any
assistance appreciated.

#!/bin/sh
# Advanced Intrusion Detection System (aide) report
/usr/bin/aide --check -V2 > /home/beowulf/aide-check.txt
cat /home/beowulf/aide-check.txt | mailx -s "Report" me@xxxxxxxxxxxx
# End of file.
.



Relevant Pages