.docs/duedate_expired.md in lazylead-0.4.3 vs .docs/duedate_expired.md in lazylead-0.5.0
- old
+ new
@@ -66,19 +66,19 @@
```sql
insert into teams (id, name, properties)
values (1, 'Dream team with lazylead', '{}');
insert into systems(id, properties)
values (1,'{"type":"Lazylead::Jira", "username":"${jira_user}", "password":"${jira_password}", "site":"${jira_url}", "context_path":""}');
- insert into tasks (name, cron, enabled, id, system, team_id, action, properties)
+ insert into tasks (name, schedule, enabled, id, system, team_id, action, properties)
values ('Expired due dates',
- '0 8 * * 1-5',
+ 'cron:0 8 * * 1-5',
'true',
1, 1, 1,
'Lazylead::Task::AssigneeAlert',
'{"sql":"filter=222", "cc":"<youremail.com>", "subject":"[LL] Expired due dates", "template":"lib/messages/due_date_expired.erb", "postman":"Lazylead::Exchange"}');
```
- Yes, for task scheduling we are using [cron](https://crontab.guru).
+ Yes, for task scheduling we are using [cron](https://crontab.guru) here, but you may use other scheduling types from [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler).
4. Once you changed `./ll.db`, please restart the container using `docker-compose -f .github/tasks.yml restart`
```bash
ll > docker-compose -f .github/tasks.yml restart
Restarting lazylead ... done