Page 1 of 1

Admin Log actions question

Posted: Thu Feb 02, 2012 11:42 pm
by jasnick
Using 1.10.3

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

GatherNotificationsTask and PruneAdminlogTask


Thanks

Re: Admin Log actions question

Posted: Fri Feb 03, 2012 12:13 am
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.

Re: Admin Log actions question

Posted: Fri Feb 03, 2012 12:25 am
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

Re: Admin Log actions question

Posted: Fri Feb 03, 2012 5:38 am
by Wishbone
Other things show up in the admin panel besides editing pages and automated tasks.

Re: Admin Log actions question

Posted: Fri Feb 03, 2012 6:29 am
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

Re: Admin Log actions question

Posted: Mon Feb 10, 2014 8:31 am
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

Re: Admin Log actions question

Posted: Mon Feb 10, 2014 9:41 am
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.

Re: Admin Log actions question

Posted: Mon Feb 10, 2014 4:45 pm
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...