Skip to content

Commit

Permalink
Merge branch 'jengels/jengels/remind_tasks' into sympa-6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ikedas committed May 24, 2018
2 parents 98040ff + 7a055af commit b11d165
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
9 changes: 9 additions & 0 deletions default/list_task_models/remind.3month.task
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title.gettext reminder message sent to subscribers every 3 months

/INIT
next([execution_date]+3m,EXEC)

/EXEC
@selection = select_subs (older([execution_date]))
send_msg (@selection, remind)
next([execution_date]+3m,EXEC)
9 changes: 9 additions & 0 deletions default/list_task_models/remind.4month.task
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title.gettext reminder message sent to subscribers every 4 months

/INIT
next([execution_date]+4m,EXEC)

/EXEC
@selection = select_subs (older([execution_date]))
send_msg (@selection, remind)
next([execution_date]+4m,EXEC)
9 changes: 9 additions & 0 deletions default/list_task_models/remind.6month.task
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title.gettext reminder message sent to subscribers every 6 months

/INIT
next([execution_date]+6m,EXEC)

/EXEC
@selection = select_subs (older([execution_date]))
send_msg (@selection, remind)
next([execution_date]+6m,EXEC)
9 changes: 9 additions & 0 deletions default/list_task_models/remind.9month.task
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title.gettext reminder message sent to subscribers every 9 months

/INIT
next([execution_date]+9m,EXEC)

/EXEC
@selection = select_subs (older([execution_date]))
send_msg (@selection, remind)
next([execution_date]+9m,EXEC)

0 comments on commit b11d165

Please sign in to comment.