gadasin/setup_backup_cron.sh

5 lines
102 B
Bash
Raw Permalink Normal View History

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