# Pencil add-on: the studio is a desktop app in a container, started on demand from the panel.
# Every 5 minutes: if someone is connected (an established connection to its port through
# nginx) it counts as in use; once nobody has been connected for the idle time set in the
# add-on (default 30 min, 0 = never) the container is stopped and its memory freed.
*/5 * * * * root /usr/local/sbin/alpha-pencil idle-check >/dev/null 2>&1
