Admin Log actions question

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Admin Log actions question

Post by jasnick »

Using 1.10.3

What do the folloiwng "Actions" mean in the Admin Log:

GatherNotificationsTask and PruneAdminlogTask


Thanks
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Admin Log actions question

Post by Wishbone »

CMSMS does tasks at regular intervals with it's pseudo-cron mechanism. I'm not sure what GatherNotificationsTask is, but I remember reading somewhere on the forum that CMSMS auto-prunes it's admin logs when it gets too long. The admin log is probably indicating that these tasks completed.
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Re: Admin Log actions question

Post by jasnick »

OK thanks Wishbone - client wants to know what her assistant editor is getting up to on the site so I was trying to work out what he has done - very little by the looks of it.

So anything that is not shown as Editing pages is an automated task.

Thanks again
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Admin Log actions question

Post by Wishbone »

Other things show up in the admin panel besides editing pages and automated tasks.
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Re: Admin Log actions question

Post by jasnick »

But as far as I am concerned, it will tell me if someone has edited something - I think that is all I need to know as far as checking on what editors get up to.

Thanks
User avatar
pigsound
Forum Members
Forum Members
Posts: 67
Joined: Sun Jun 28, 2009 3:08 pm

Re: Admin Log actions question

Post by pigsound »

hi,
since my site had been hacked a few weeks ago (i changed passwords and updatet to cmsms 10.11.9 on this occasion), i am a bit suspicious when i realize things going on on my system, that i had not directed.
now i have realized some actions, taken by the "PruneAdminLogTask". i did not find out much about this task in the forum, apart from that it is something that cmsms regularly does. so it seems nothing harmful.
BUT:
i'd like to know how often does this task go into action? i realized that it executes every day. on the first day after my last login, it startet its script at 2 am. on the next day at 3 am and so on, every day one hour later. is that a harmless action or am i being hacked again...?

thanks for your helpful advice,
pigsound
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Admin Log actions question

Post by velden »

If you understand php have a look at

\lib\tasks\class.PruneAdminlog.task.php

It should run max once every 24 hours and it's called 'pseude cron' because it only get's initiated when a cmsms webpage is visited. And IIRC it doesn't check on every visit.

So it could well be that you see this task occur every 24+1 hour.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Admin Log actions question

Post by Dr.CSS »

There are settings for that, "PruneAdminLogTask" prunes the admin log(actually removes all entries up to that point), the other thing the admin log shows is checking for new versions, both can be turned off...
Post Reply

Return to “CMSMS Core”