- CheckMates
- :
- Products
- :
- Quantum
- :
- Security Gateways
- :
- cron schedule on tecli command
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
cron schedule on tecli command
I would like to monitor emulation status on SandBlast appliance, so I want to run "tecli s e v s" by cron every x min.
But if I start tecli command by cron, it ended with this error
/opt/CPsuite-R77/fw1/bin/tecli: line 49: /teCurrentPack/temain: No such file or directory
/opt/CPsuite-R77/fw1/bin/tecli: line 49: exec: /teCurrentPack/temain: cannot execute: No such file or directory
So I want to ask if anybody know which environment parameters need to be set for tecli to run?
Thanks
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
tecli requires the $FWDIR environment variable.
You will need to adjust your cronjob to source the .CPprofile.sh file under the /opt/CPshrd-RXX.YY/tmp directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
tecli requires the $FWDIR environment variable.
You will need to adjust your cronjob to source the .CPprofile.sh file under the /opt/CPshrd-RXX.YY/tmp directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Michael,
#!/bin/bash -f
source /opt/CPshrd-R77/tmp/.CPprofile.sh
Made the trick.
