beeyev / Mikrotik-RouterOS-automatic-backup-and-update

Script sends backups to email and keep your mikrotik firmware up to date.
MIT License
433 stars 83 forks source link

How about an option/variable to extend the time waiting for export to complete #51

Open DriftlessRant opened 6 months ago

DriftlessRant commented 6 months ago

I have a couple Model: RB941-2nD that I get *.rsc.in_progress files when the script runs as a scheduled job at 3:00 AM. Runs okay if I run it interactively. Or maybe watch for 'in_progress' in the filename and if it's there extend the delay.

Overall very useful script... thanks!

beeyev commented 5 months ago

Current delay time is 20 seconds, Could you please try to set another time, for example 40 seconds and tell if it worked wor you. You can adjust the value in the script yourself, it's on the line 194 https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update/blob/b459aa499e570cc10ff4d5f2c1306073c754aedb/BackupAndUpdate.rsc#L194