Perhaps we need to know a little more...
a) Why "for example"?
b) What are these tasks ( or what do you call task)? Processes, programs? jobs?
c) You know our policy is more strict on what we expect from people posting in shell/programming... We expect to see something you started showing us you tried to do it, but cannot...
d) what does:
sendevent -E CHANGE_STATUS -s SUCCESS -J task1
?
So that we understand the difference between week and week-end