-
Notifications
You must be signed in to change notification settings - Fork 0
Task Types
tricknik edited this page Sep 13, 2010
·
9 revisions
core types These task types are part of the core and do not need to be loaded
Echo sends text to the standard logger (console)
echo: this text is sent to the standard logger echo: {{tokens}} are expandedDo child tasks, useful for grouping tasks or including in a mapping
target 1: do: echo: I am a child taskLock provides mutual exclusion using temporary file locks.
lock: echo: this has an exclusive lock echo: only one sweetpotato process can call this at a time echo: all others must wait in the queue target1: lock: myimpotandlock echo: this has an exclusive lock with the key “myimportantlock” echo: this has an exclusive lock echo: at any time only one of target1 or target2 is allowed to run target2: lock: myimportantlock echo: this has an exclusive lock with the key “myimportantlock” echo: at any time only one of target1 or target2 is allowed to run