Smile Script
This module allows users to create and run maintenance scripts. After each script's execution, interventions are logged in the database.
Features:
- Add access rights for users to create and track maintenance scripts.
- Create maintenance scripts in Python, SQL, or XML with predefined variables like
self
,fields
,logger
, andtools
. - Test scripts in "Test Mode" and validate them before execution.
- Track logs of maintenance interventions.
- Validated scripts and interventions cannot be deleted.
Table of contents
Usage
Follow these steps to use the Smile Script module:
- Go to Settings > Users & Companies > Users and assign the Smile Script and Smile Logs access rights to the user.
- Create a maintenance script:
- Go to Settings > Technical > Maintenance > Scripts.
- Click Create and fill in the fields: Name, Description, Type (Python, SQL, or XML), and the script code.
- Click Save and Test to validate the script.
- Run the script:
- Click the Run button to execute the script.
- Go to Settings > Technical > Maintenance > Interventions to view the results.
- Track logs of maintenance interventions:
- Go to Settings > Technical > Logging > Logs.







Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback here.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
- Smile Devlopment Team
- Corentin Pouhet-Brunerie
Maintainer
This module is maintained by Smile SA.
Since 1991 Smile has been a pioneer of technology and also the European expert in open source solutions.
Please log in to comment on this module