clonemeagain / plugin-autocloser

An osTicket plugin to automatically close open tickets
GNU General Public License v2.0
40 stars 23 forks source link

[question] regular cronjob #25

Open Af0x opened 5 years ago

Af0x commented 5 years ago

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

clonemeagain commented 5 years ago

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.

Af0x commented 5 years ago

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 commented 5 years ago

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