system.kanoa.schedule.checkAssetSchedule
Description
This function is called by a gateway timer script. It will check the schedule to see what is scheduled for the line in which case it will set the line mode accordingly. It will also check if any currently scheduled operations should have ended, in which case it will put the asset into an idle mode.Syntax
checkAssetSchedule(parentPath, includeChildren=True)- parentPath (string) - Path of the parent asset.
- includeChildren (boolean, default=True) - Include children assets.
- None
Code Example
# Example Usage:
parent_path = 'Kanoa Industries\Adelaide Hills\Packaging'
system.kanoa.schedule.checkAssetSchedule(parent_path)