Create a task automatically

It’s triggering.

You can’t see your logs?

2019/06/16 17:51:53 [error] 14#14: *27 FastCGI sent in stderr: "PHP message: WeeklyRecurringTask.doAction() CALLED,
PHP message: PHP Fatal error:  Uncaught Error: Call to undefined method Kanboard\Plugin\WeeklyRecurringTasks\Action\WeeklyRecurringTask::projectModel() in /var/www/app/plugins/WeeklyRecurringTasks/Action/WeeklyRecurringTask.php:164,
#4 /var/www/app/app/Console/TaskTriggerCommand.php(" while reading response header from upstream, client: 172.17.0.3, server: localhost, request: "GET /cronjob?token=afadeae2830f5d602927e950a27fe8d9c4f779ac2d540f04db368ef86a88 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "projects.nachostudio.ml",
#3 /var/www/app/app/Console/TaskTriggerCommand.php(49): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('task.cronjob.da...', Object(Kanboard\Event\TaskListEvent)),
#2 /var/www/app/vendor/symfony/event-dispatcher/EventDispatcher.php(44): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'task.cronjob.da...', Object(Kanboard\Event\TaskListEvent)),
#1 /var/www/app/vendor/symfony/event-dispatcher/EventDispatcher.php(212): Kanboard\Action\Base->execute(Object(Kanboard\Event\TaskListEvent), 'task.cronjob.da...', Object(Symfony\Component\EventDispatcher\EventDispatcher)),
#0 /var/www/app/app/Action/Base.php(269): Kanboard\Plugin\WeeklyRecurringTasks\Action\WeeklyRecurringTask->doAction(Array),
Stack trace:

remove the () after projectModel on line 164.

After that


2019/06/16 17:57:36 [error] 14#14: *39 FastCGI sent in stderr: "PHP message: WeeklyRecurringTask.doAction() CALLED,
PHP message: WeeklyRecurringTask.doAction() RETURNING 1" while reading response header from upstream, client: 172.17.0.3, server: localhost, request: "GET /cronjob?token=afadeae2830f5d602927e950a27fe8d9c4f779ac2d540f04db368ef86a88 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "projects.nachostudio.ml",
PHP message: PHP Warning:  Illegal string offset 'name' in /var/www/app/plugins/WeeklyRecurringTasks/Action/WeeklyRecurringTask.php on line 165,
PHP message: PHP Warning:  Illegal string offset 'id' in /var/www/app/plugins/WeeklyRecurringTasks/Action/WeeklyRecurringTask.php on line 166

Then, switch getListByStatus to getAllByStatus, getListByStatus, is a key/val hashtable, so there is no ['name'] or ['id'], the id would be the index and name would be the value if you used that.

Then you’re all set, no more errors.

Also, FYI, you could go this route: Kanboard and Zapier

Just use the Scheduler App instead of the Email parser, and then the duplicate task api method.