gadasin/setup_backup_cron.sh

4 lines
90 B
Bash
Executable File

mkdir backups
(crontab -l 2>/dev/null; echo "* */12 * * * $(pwd)/backup.sh") | crontab -