XMC TCL scripting, how to wait xx minutes between CLI commands?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-03-2018 09:07 AM
Hi,
As our Palo Alto firewall device has no scheduled update feature, I want to use XMC scripting for this purpose.
# request system software install version
# request restart system
These are the commands. So how can I tell XMC TCL engine to wait 30 minutes between these two commands?
Regards,
Rahman
As our Palo Alto firewall device has no scheduled update feature, I want to use XMC scripting for this purpose.
# request system software install version
# request restart system
These are the commands. So how can I tell XMC TCL engine to wait 30 minutes between these two commands?
Regards,
Rahman
23 REPLIES 23
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-05-2018 09:07 AM
@SH, yes I set it 3600 secs.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-05-2018 09:07 AM
maybe the script executes the required "y" too fast? can you have it sleep 3 seconds between your two CLI commands (just before you execute CLI y)... just a wild guess..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-05-2018 09:07 AM
Hello Rahman,
is this timer long enough?
is this timer long enough?
Regards
Stephan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-05-2018 09:07 AM
No it runs instantly. First command ask for "Yes/No". After I press "y" it just prints the PANOS job id and returns to console immediately.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-05-2018 09:07 AM
How long does it take to execute this command when you try to do it manually? Longer than 30 seconds?
