Add to the end of a crontab

crontab -l > /root/cron-backup-$$
( cat /root/cron-backup-$$
echo “# Backup the logfiles”
echo “0 1 * * * /root/logbackup/backup_logs.sh >/dev/null 2>&1” ) | crontab –

Advertisements
Add to the end of a crontab