For retrieving daily backups from XOS encoder devices I need 260 scheduled tasks for each XOS device.
I made an Excel with all the needed information to make the scheduled task per device.
I was wondering if anybody already automatically made scheduled tasks based on a list from Excel?
Thanks in advance!
Also adding, it might be an option to have this completely managed by our IDP suite (Inventory, Discovery and Provisioning), as it is available on the platform and is designed to not only discover and provision the elements in an automated way, but also manage the device backups.
More information on:
I was also wondering, what is the reason that you need 260 separate tasks, one for each individual device? If all of them need a daily back-up, it is not fine to just create one scheduled task that then starts an automation to iterate across all devices to take a back-up?
In the question below you can find an example to create a scheduled task programmatically:
In your script, you will need to parse the Excel file. For each row available in the file you could create a scheduled task using the example above.
Small question, does it need to be a Excel file? If possible, try to collect this information in a CSV file. Parsing a CSV file does not require extra libraries.
Hope it helps.