All active "tabs" should be on one line, ie no "newlines" "carriage returns" or "\ line breaks"
My root crontab in /home/<user>/.crontabs
PATH=/usr/sbin:/usr/bin:/sbin:/bin
#############################################################################
# Save file as root_crontab.cron. Use it to load your crontab with command:
# sudo crontab .crontabs/root_crontab.cron; sudo crontab -l
#############################################################################
# All active "tabs" should be on one line, ie no "newlines" or "\ breaks"
# Firewall block statistics compiled by fwanalog every 6 hrs
05 */6 * * * export DISPLAY=:0 && /home/<user>/.scripts/security_scripts/fwlogcron > /dev/null 2>&1
# Shutdown transmission, if still running for some reason!
55 06 * * * killall -w transmission-gtk > /dev/null 2>&1
# Download system updates during unmetered ADSL and log but don't install.
29 02 * * * echo "\n\n"$(date) >> /home/<user>/auto-update.log; (apt-get -qq update && apt-get -y -d upgrade) >> /home/<user>/auto-update.log
_____________________________________________________________________________
My user crontab in /home/<user>/.crontabs
#############################################################################
# Save this file as crontab.cron. Use it to load your crontab with command:
# crontab .crontabs/crontab.cron; crontab -l
#############################################################################
# All active "tabs" should be on one line, ie no "newlines" or "\ breaks"
# 19:30 every third day run of "ClamAV-scan" script to check home directory
30 19 */3 * * export DISPLAY=:0 && /$HOME/.scripts/ClamAV-scan > /dev/null 2>&1
# Every 6 hours "Back In Time" backup job, all of home directory.
00 */6 * * * export DISPLAY=:0 && /$HOME/.scripts/Backup >/dev/null 2>&1
# Unmetered ADSL access reminder 0200 + 10mins.
10 02 * * * export DISPLAY=:0 && /$HOME/.scripts/unmetered_rem.sh >/dev/null 2>&1
# Check Gmail every 2hrs @ 10 past the hour.10 */2 * * * export DISPLAY=:0 && /$HOME/Private/gmail.sh >/dev/null 2>&1
# Run PVR to check every 2 hours for followed TV episodes.
37 */2 * * * export DISPLAY=:0 && /$HOME/.scripts/PVR/mypvr.sh >/dev/null 2>&1