gadasin/setup_backup_cron.sh

4 lines
90 B
Bash
Raw Normal View History

2024-12-19 01:21:18 +03:00
mkdir backups
2024-12-19 01:16:37 +03:00
(crontab -l 2>/dev/null; echo "* */12 * * * $(pwd)/backup.sh") | crontab -