Scheduled taks log file ojs 3.1.2.4

Hi
I don’t find the scheduled tasks log file on our Linux server fileApache/2.4.37 (centos) OpenSSL/1.1.1c PHP/7.2.24.
I want to check if the crossref doi depositing triggers or not.
Thanks for help.

Hi @trace,

Have you set up a cron job, or are you using the Acron plugin? (One of the two is required in order to run your scheduled tasks.)

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks Alec
We set it up now server sided

    # crontab -e www
    0 * * * *	php /path/to/ojs/tools/runScheduledTasks.php

Hi @trace,

If that doesn’t cause the log files to be generated, double-check that scheduled_tasks is turned On in config.inc.php.

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks
Logs are generated now. For example file CrossRefautomaticregistrationtask-5f674e4151b4a-20200920.log:
>Preformatted text [Notice] Task process started.
> [2020-09-20 14:42:41] [Notice] Task process stopped.
But unassigned crossref dois haven’t been submitted to crossref. It keeps the status “not deposited”. Allthough “OJS will deposit assigned DOIs automatically to CrossRef …” is enabled. Manually submitting is working.
Do we have to open any ports?

Beneath Crossref we are running several Datacite prefix too on the same OJS instance. Could that generate the problem? Has someone experience with such? Thanks.

It’s resolved. We had to enable our test journal publicly available. That wasn’t the case before.

1 Like