Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




How do you get the Scheduler to work?

web-app

Is there a full manual that describes how this is supposed to work?  After an hour, I had hoped it would have been working now.

1.  How do you schedule when to send emails? 

2.  Test button under SMTP configuration does not send out any emails.  It works properly if Mailplugin is chosen under Notifications.

3.  From the "GeminiSchedulerGuide":
After installation, essential changes to the WEB.CONFIG file are required in order to correctly configure and use Gemini.

what are these "essential changes" that need to be made.  All I see is information about configuring multiple sites. 

4. What about the section on "MailboxProcessors"  should I do anything with that?  If so, what needs to be done.  I am not sure what all of these fields mean.

Are changes to the SMTP Configuration in gemini supposed to be saved to the CounterSoft.Gemini.Scheduler.exe.config in the MailboxProcessors section?


I can see items in the Windows Event Viewer under Applciation for the scheduler, but nothing is being sent.  What am I missing here?


jruez
· 1
jruez
Replies (10)
helpful
0
not helpful

You need to open the config file and set the URL., username and passowrd (of a valid Gemini admin). There is no need to setup the mailbox section for sending alerts.

After setting the config up, start the service and see if you have any errors in the event log.

Please make sure you have Micorsoft WSE 3.0 installed on the web server.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

All this has been done and there are no errors that I see.


jruez
· 1
jruez
helpful
0
not helpful

I presume that the site is configured to use the scheduler for sending alerts.

Please check the messages in the event log, there should be scheduler info messages.

Also, check the Gemini error log.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Ok, I have narrowed it down to this.  I cannot get the scheduler (or the mailservice for that matter) to work if Verbose Logging is on (set to YES).

here is the error message in the Gemini System Log

Access to the path 'C:\GeminiSMTPLog.txt' is denied.11/02/2009 12:55:56 at System.IO._Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITYATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.CreateFile(String path, Boolean append) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) at MailBee.Logger.a(Boolean A0) at MailBee.Logger.Clear() at CounterSoft.Gemini.Mail.Emailer.SendEmail(GeminiConfigurationEN config, EmailAlert alertMessage, IssueWatcherEN recipient) at CounterSoft.Gemini.Mail.Emailer.SendEmail(GeminiConfigurationEN config, String strTo, String s
It was able to create a Gemini
POP3_Log.txt and write to that, when I was originally testing and had the mailbox processor running. 

Please give me some information on this.

How do I schedule when to send emails?  Is that the "Interval Specified in minutes"?  If so, I assume that only works for the scheduler service and not the mailplugin, correct?

Do I even need to fill in the SMTP information if I am using the SchedulerService, since this information is put in the web.config?



jruez
· 1
jruez
helpful
0
not helpful

You will have to give your ASPNET user permissions so write to the C drive in order to use verbose logging.

So I suggest not having verbose logging on and setting it to use the scheduler.

The scheduler will send emails every "Interval Specified in minutes". That is it will take each issue updated and rollup all updates for that issue into 1 email.

There is no SMTP info in the web.config file anymore, are you using an old config file?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Sorry, I did not mean the web.config.  I meant the config file for the scheduler (discussed above). 

CounterSoft.Gemini.Scheduler.exe.config - is this file supposed to be updated by the SMTP settings changes done inside the application when I have chosen the scheduler?

Also, the application was able to create Gemini.POP3_Log.txt and write to it, so I thought it would have the proper rights.  I will check that also.

Thanks,


jruez
· 1
jruez
helpful
0
not helpful

You do not need to change the scheduler config file for SMTP changes. It will pick it up from Gemini.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

So I don't need to do ANYTHING to the schedule config file?

A few posts above, I was told
You need to open the config file and set the URL., username and passowrd (of a valid Gemini admin). There is no need to setup the mailbox section for sending alerts.


The "GeminiSchedulerGuide" states
4. Post Installation Configuration
After installation, essential changes to the WEB.CONFIG file are required in order to correctly configure and use Gemini. Additional settings can be found post Gemini login under Home  Administration.



jruez
· 1
jruez
helpful
0
not helpful

Yes, you need to configure it with the correct url, user and password. But you do not need to change it if you want to change SMTP settings as they are done in the web app.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

ok,  I will test all of this out.  thank you.


jruez
· 1
jruez