{"action":"opened","issue":{"url":"https://api.github.com/repos/kanboard/kanboard/issues/3049","repository_url":"https://api.github.com/repos/kanboard/kanboard","labels_url":"https://api.github.com/repos/kanboard/kanboard/issues/3049/labels{/name}","comments_url":"https://api.github.com/repos/kanboard/kanboard/issues/3049/comments","events_url":"https://api.github.com/repos/kanboard/kanboard/issues/3049/events","html_url":"https://github.com/kanboard/kanboard/issues/3049","id":208209410,"number":3049,"title":"Notification timeframe switch for CLI notification:overdue-tasks","user":{"login":"seancarson","id":16091525,"avatar_url":"https://avatars.githubusercontent.com/u/16091525?v=3","gravatar_id":"","url":"https://api.github.com/users/seancarson","html_url":"https://github.com/seancarson","followers_url":"https://api.github.com/users/seancarson/followers","following_url":"https://api.github.com/users/seancarson/following{/other_user}","gists_url":"https://api.github.com/users/seancarson/gists{/gist_id}","starred_url":"https://api.github.com/users/seancarson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancarson/subscriptions","organizations_url":"https://api.github.com/users/seancarson/orgs","repos_url":"https://api.github.com/users/seancarson/repos","events_url":"https://api.github.com/users/seancarson/events{/privacy}","received_events_url":"https://api.github.com/users/seancarson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-16T18:41:38Z","updated_at":"2017-02-16T18:41:38Z","closed_at":null,"body":"I would like to request the addition of an a switch in the overdue notifications command in the cli.    If possible could you add a time-frame switch.  Currently the Notification:overdue-tasks command sends  alerts out on any task assigned to you or assigned by you(PM) that is overdue.  It would be great if the system could send out notification x days before the task due date.  \r\n\r\nExample\r\nnotification:overdue-tasks -x 5\r\n\r\n-x would be the how may days before to notify before due date switch.  The number of days 5 would be 5.  So notify me 5 days before task is over due.      \r\n\r\n\r\nYou could create different notification schedules by running separate cronjobs for different notification intervals.  \r\n\r\n0 8 * * * cd /path/to/kanboard && ./cli notification:overdue-tasks >/dev/null 2>&1\r\n0 8 * * * cd /path/to/kanboard && ./cli notification:overdue-tasks -x 5 >/dev/null 2>&1\r\n0 8 * * * cd /path/to/kanboard && ./cli notification:overdue-tasks -x 15 >/dev/null 2>&1\r\n0 8 * * * cd /path/to/kanboard && ./cli notification:overdue-tasks -x 30 >/dev/null 2>&1\r\n\r\n\r\nThank You\r\n\r\nSC\r\n"}}
{"actor":{"display_login":"seancarson"}}