While an interesting concept, I believe cron is the wrong tool for this job. Fixing this in cron would not ensure mutual exclusion in the cases where these scripts are called by other means, eg manual calls.
The correct solution for backup_to_media and backup_to_file -- or any other program that needs to ensure mutual exclusion -- would be to create and flock a file, eg /var/lock/backup_run. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/917231 Title: Mutual exclusion for cronjobs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cron/+bug/917231/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs