Automatic Action: Move the task to another column when not moved during a given period

Hey there!

Hey there. I’m trying to use the Automatic action: Move the task to another column when not moved during a given period.

Actual behaviour

Tasks do not move to the “Archive” column. After x days.

Expected behaviour

Tasks should move from the “Done” column to the “Archive” column.

Steps to reproduce

Create the Automatic action with the following options:
Move the task to another column when not moved during a given period
Event name = Daily background job for tasks
Duration in days = 1
Source column = Done
Destination column = Archive
Put Task in Done column.
Wait 1 day.

Screenshots

Cron Job:

Logs

N/a - Request if required.

Configuration

Application version: 1.2.19
PHP version: 7.3.28
PHP SAPI: litespeed
HTTP Client: cURL
OS version: Linux 3.10.0-962.3.2.lve1.5.52.el7.x86_64
Database driver: mysql
Database version: 10.3.29-MariaDB
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36

Out of curiosity, I tried to verify this, and indeed there was no move of tasks.

Not sure, whether my case relates to yours, but here the cli script lost its executable mode due to the former update. After a simple

chmod +x cli

the cronjob is working as expected, all tasks were moved.

I’m using cPanel, so i don’t have access to the terminal.

I don’t know cPanel, but I assume there is a way to change a file permission.

Yeah. Tried that last night, tasks still haven’t moved or been automatically closed.

More questions in mind:

  • Are you sure that the cron job is really invoked?
  • Is it the cron job of the user that is running the web-server?
  • Can you invoke the cron job from within cPanel, for testing?

I manually run the cron from URL… nothing happens with that either. Not sure how to check if the cron is running.

No it’s not. it’s shared webhosting and I do have terminal access.

As a next step, I’d remove the part “> /dev/null 2>&1” from the command. In case of an error, you should be notified by email, unless you have disabled email in your cron settings.

You could also append something like “; echo hello” to enforce output.