Part of lp.services.scripts.interfaces.scriptactivity View In Hierarchy
| Method | recordSuccess | Record a successful script run. |
| Method | getLastActivity | Get the last activity record for the given script name. |
| Parameters | name | The name of the script that ran successfully. |
| date_started | The datetime when the script started. | |
| date_completed | The datetime when the script finished. | |
| hostname | The name of the host the script ran on. If None, then
use the hostname from socket.gethostname. |