Well, everything worked fine in my lab. But when implemented in the production network I had mixed results. If the TFTP server is in the US, all works fine, that's my primary server. I use another script to save the config in a secondary server, that one is physically located in Europe. So when trying to save to the secondary server, the configuration is only partially saved, I'd say 60% of it. Looking at the "show event manager history events command", I get this:

No.  Job Id Proc Status   Time of Event            Event Type        Name
9    9      Actv abort    Tue Sep21 16:17:00 2021  timer cron        applet: Conf_Bkp

It looks to me that the script is timing out when saving the config to the server in Europe.

What would be the command to increase the runtime of the applet beyond the 20 seconds limit?

Thanks.