Groups > Application developers > Community Server Setup and Installation > Re: EmailJob not running on 2007.1




EmailJob not running on 2007.1

EmailJob not running on 2007.1
Tue, 20 Nov 2007 01:27:18 +000
The EmailJob doesn't seem to be running on our instance of community server.
Last Start, Last Stop is -- and the [mg_EmailQueue] table has records in it
which are not being flushed. It seems like the job isn't started. Is there
anything I can check to restart the job / see if it's running?

We upgraded to 2007.1 already and we're not seeing the SQL Exception associated
with email jobs. We've seen this job run in the past, it just seems to be
stopped. I've waited the appropriate 15 minutes that's set in the config file.

Thanks!

Jason
Post Reply
Re: EmailJob not running on 2007.1
Tue, 20 Nov 2007 06:35:03 +000
Hi Jason,

The email job in 2007.1 should run on a 10 minute interval.  Are all jobs
reporting the last stop as -- or just the email job ?

In 2007.1 you have to enable exception reporting in the communityserver.config
file, if you have not done this yet locate the:

enableExceptionLogging = "false"

in the core section and change it to:

enableExceptionLogging = "true"

save the communityserver.config file either touch the web.config or recycle the
application pool in IIS.

Then see if any exceptions are generated, including unhandled ones.

Kindest Regards

Dave
Post Reply
Re: EmailJob not running on 2007.1
Tue, 20 Nov 2007 06:41:31 +000
Eventually, the email job ran, it seems like the Community Web App actually has
to be started to enable the jobs, which it was not, for some reason
Post Reply
Re: EmailJob not running on 2007.1
Tue, 20 Nov 2007 16:44:15 +000
Yes, since the jobs all run within the website, the website must be active for
them to be sent.  Also, IIS automatically unloads all applications after 20
minutes of no activity by default.

If you want the jobs to run continually, outside of the web app, then you need
to install the Tasks Service (packaged with the Enterprise Search download),
which installs a Windows service on the system that will continually run the
jobs.
Post Reply
Re: EmailJob not running on 2007.1
Tue, 20 Nov 2007 18:17:36 +000
Perfect, this is just what I needed. 

We implemented a custom version of the site rather than the standard version,
which is I think why the EmailJob is not running. Which setting in the config
file actually loads up and runs that job? Perhaps we didn't implement that
setting correctly.
Post Reply
<< Previous 1 2 Next >>
( Page 1 of 2 )
about | contact