Auto Backup

Hello
Is it possible to schedule an autobackup script to run when router configuration changes? Is there any way to detect configration changes and rin a script?

Sounds like Safe Mode