I want to create a cronjob at my Ubuntu server by adding/modifying a file in the
/etc/cron.d folder, rather than using
crontab -e as it's not too easy to automate.
I've managed to make a file looking like this:
* * * * * username command >> logfile
I can tell that the file is there, I've chmoded it to
777 but it still isn't executed or appears when I do
crontab -l as root. What am I doing wrong?