arFileImportJob not using localtime

48 views
Skip to first unread message

GS

unread,
Jul 4, 2018, 2:27:28 AM7/4/18
to AtoM Users
Hi Atom,

Output from jobs in v2.40 do not seem to be reporting local time.

Here is the atom-worker log started at 16:07 2018-07-04(Canberra, Australia)

2018-07-03 23:07:43 > Running worker...
2018-07-03 23:07:43 > PID 13111

Timezone is set in php.ini to Australia/Sydney  (same as Canberra).

Not local time and doesn't appear to be UTC.
Looks like West Coast USA.

Anyone else seeing this or perhaps has a fix.

Thanks,

George

Dan Gillean

unread,
Jul 4, 2018, 11:45:48 AM7/4/18
to ICA-AtoM Users
Hi George, 

You'll also want to check the time zone settings found in apps/qubit/config/settings.yml

See: 
I'd suggest restarting PHP-FPM and memcached, and clearing the application cache after making changes. 

Regards, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/72120242-1f24-43b7-b243-8e45d6085d78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

GS

unread,
Jul 6, 2018, 12:54:49 AM7/6/18
to ica-ato...@googlegroups.com

Hi Dan,

That appears to fix the time if the atom-worker is restarted until a job is run, see below


2018-07-05 21:38:39 > Job started.
2018-07-05 21:38:40 > Job finished.
2018-07-06 14:42:22 > New ability: arFindingAidJob
2018-07-06 14:42:22 > New ability: arInheritRightsJob
2018-07-06 14:42:22 > New ability: arObjectMoveJob
2018-07-06 14:42:22 > New ability: arInformationObjectCsvExportJob
2018-07-06 14:42:22 > New ability: qtSwordPluginWorker
2018-07-06 14:42:22 > New ability: arUpdatePublicationStatusJob
2018-07-06 14:42:22 > New ability: arFileImportJob
2018-07-06 14:42:22 > New ability: arInformationObjectXmlExportJob
2018-07-06 14:42:22 > New ability: arXmlExportSingleFileJob
2018-07-06 14:42:22 > New ability: arGenerateReportJob
2018-07-06 14:42:22 > New ability: arActorCsvExportJob
2018-07-06 14:42:22 > New ability: arActorXmlExportJob
2018-07-06 14:42:22 > New ability: arRepositoryCsvExportJob
2018-07-06 14:42:22 > Running worker...
2018-07-06 14:42:22 > PID 32004
2018-07-05 21:43:40 > Job started.
2018-07-05 21:43:41 > Job finished.

Job has wrong time around 21:38
atom-worker restarted, correct time 14:42 reported
re-run a report job time is back to 21:43 (and date changed)

Any further suggestions.

Thanks,

George
Reply all
Reply to author
Forward
0 new messages