Forum Discussion
Execute Script when an application is deleted
An implementation script is possible, but is it possible to specify a script when the application is deleted ?
I would like make a crontab task for import a an external file, it's not a problem in implementation section of a template. But how remove this file when the application is deleted ? and remove the crontab line ?
Regards
1 Reply
- Fred_Slater_856Historic F5 Account
Unfortunately, the iApp framework handles deletion internally, without a way to trigger a custom script. The only solution I can think of for you would be to write a separate background script that periodically checks "tmsh list sys app service" for the existence of your iApp, and manipulates your crontab when it detects the iApp's absence.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com