You are viewing an old version of this page. View the current version.

    Compare with Current View Page History

    « Previous Version 3 Current »

    In this example, we demonstrate adding a timeout to the job's agenda items and then a callback that will fail the agenda item based on the triggering of the timeout.

    This script will submit a job with a 30 second, agenda-based timeout that runs a bunch of "sleep" commands. Each agenda item will do exactly nothing for a number of seconds equal to the frame number. Timeouts have a resolution of about 15 seconds, so you should start seeing agenda items timeout at around frame 30-50, and then timeout consistently beyond that (or until the job is auto-wrangled away, assuming auto-wrangling is enabled).

    Icon

    If "qbping" is not in your system PATH env var, then you may have to specify the full path to it. qbping lives in $QBDIR/bin. 

    • No labels