plugin-autocloser icon indicating copy to clipboard operation
plugin-autocloser copied to clipboard

[question] regular cronjob

Open Af0x opened this issue 5 years ago • 3 comments

hello,

is the plugin working with a regular cronjob provided by OS and if yes, what would for example a daily check look like.

Thanks in advance for your answer,

Af0x

Af0x avatar Jul 09 '19 18:07 Af0x

If you have cron enabled for osticket, this hooks into that. So you just need the one cron job.

As per your other comment though, haven't tested on 1.12 yet.

clonemeagain avatar Jul 09 '19 22:07 clonemeagain

hi, thank you. So I just have to call /api/cron.php with a cronjob even though I don´t use cron.php in any other situation? Is there any option in osticket that needs to be enabled to make this work?

Additional question: Is 0 a valid value for the Tickets to process per run per group field?

Regards, Af0x

Af0x avatar Jul 09 '19 23:07 Af0x

I tested it yesterday with 1.12 by calling the cron.php via crontab, DEBUG shows that the cron got run but no tickets were closed. Tried to change some settings of the plugin but still no change. Also there was no error thrown in osticket and/or apache/php-Logs. I believe this plugin is not working with 1.12 anymore. Regards, Af0x

Af0x avatar Jul 10 '19 15:07 Af0x