I heard that it is a good idea to schedule backup in crontab file.I also head that it is bad to edit files while they are backed up.It may happen that cron stats to backup a directory while I am still editing some files in the directory. What shall I do to prevent or deal with the above situation?Can I be notified a few minutes before cron starts to run back up, so that I can stop editing?Can I be notified when backup scheduled by cron finishes, so that I can resume editing?
editing files at the same time when cron automatically runs backup
cron;backup