PDA

View Full Version : need help with automating a task.


Keyser520
04-25-2008, 02:52 PM
I'm sure this is really quite simple to do. I just don't have the knowledge at the current moment to do it, nor have I found an example anywhere that will give me enough info to teach myself.

If someone could either code it for me or give me a significant push in the right direction, I'd be much obliged.

The overview: I have given certain members of my community their own forum to moderate. Some of them use it all the time for the intended purpose. Others have gone a different direction in life and are no longer around. I would like to automate some sort of removal task.

The task: I want a task that runs once per day that look at each of these sub-forums, check the login date of the moderator of each sub-forum and the last post date in that sub-forum. For every sub-forum in which the moderator has not logged in for 60 days and the sub-forum has not been posted in for 60 days, I want that sub-forum to be moved from it's current forum (instructors) to a new forum (MIA).

Anyone out there willing to help me figure this out?

Thanks!