I am running the following command as root, on OpenSuse:
linux-gn77-PC:/home/harbir/project # crontab -e
when the editor opens up I type the following, as I want the command to be run at 2145 hours
45 21 * * * * /home/harbir/project/maildispatcher.sh &> /tmp/mycommand.log
when I try to save the file, I get the following message
crontab: installing new crontab "/tmp/crontab.WOxjzG":1: bad command errors in crontab file, can't install. Do you want to retry the same edit?
I want the output of the crontab to go the file