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
The error "session exceeded timeout: 30 secs" might indicate that the script engine expects some "regular" activity on your SSH session. So if you sleep for 45 seconds, there is no activity and the engine thinks that something is wrong and breaks processing (my interpretation  ).
One idea: try to leep for 20 seconds, execute some CLI command (show system info), sleep another 25 seconds and then continue with your commands.
One idea: try to leep for 20 seconds, execute some CLI command (show system info), sleep another 25 seconds and then continue with your commands.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-05-2018 09:07 AM
Hello Ryan,
I loaded the file but it did not solve the issue. Our new support contract is on the way. When it is active I will open a bunch of cases with GTAC.
I loaded the file but it did not solve the issue. Our new support contract is on the way. When it is active I will open a bunch of cases with GTAC.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-05-2018 09:07 AM
Hello Ryan,
I loaded the file but it did not solve the issue. Our new support contract is on the way. When it is active I will open a bunch of cases with GTAC.
I loaded the file but it did not solve the issue. Our new support contract is on the way. When it is active I will open a bunch of cases with GTAC.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-05-2018 09:07 AM
Hello Ryan,
links works fine.
links works fine.
Regards
Stephan
