.net Quartz wont run in windows 2003 - quartz.net

i scheduled a quartz scheduler in windows 2003 server. when i am working on
the system the quartz scheduler is running.
But when the system is in idle mode (i did not touch for some time the system go's to idle) in this case i scheduled a quartz scheduler Every Day at 0 30 1 * * ? * it
doesn't fire with that expression. is the expression is correct. if
not please let me know the expression. is there any security setting
for quartz scheduler in windows 2003 server and Windows 7.
But every thing works fine in windows XP

according to CronMaker your schedule should run every day at 1.30AM.
Where are you hosting your Quartz Scheduler? ASP.NET, Windows Service ?
Are you using a RAMJobStore or a AdoJobStore ?
UPDATE:
Few months ago I've developed a custom windows services which hosts Quartz.net.
I've used AdoJobStore to persists my schedules and jobs on a Sql Server database.
The services is running on a Windows 2003 Server 32Bit and I've never experienced any kind of problem so far.
Best thing to do in these situations is to configure your app to do some debugging.
I've explained here.
You can download Common.Logging.NLog from here.
In the ZIP file you can find all the assemblies you need.
If you're using Quartz.NET 1.0.3 you have to download Common.Logging 1.2.0.
There are more infos about Common Logging infrastructure here

Related

Ucma 4.0 / 5.0 on NanoServer or Windows Server Core?

I want to use ucma API on windows container.But I want to know, can I host the API on nano server or windows server core?
I searched ucma documents but I didn't find any information about containers.
According to requirements, it seems to work only with Windows Server 2016 and Windows server 2012.
So I was able to get a UCMA application to start/register and even accept a call running on a server core container, but it took some doing. The runtime needs to be installed in the container image, which needed to be done manually. You also need to provision the app using the container host's details, and get the cert into the container.
The place where it all breaks down though is with media-if your app needs to play/record prompts for calls, you can't do it from server core. Container or not, the OS is missing the runtime for WMA, and from what I've found, it can't be installed.
For what it's worth, the SFB team doesn't even support UCMA on server core, let alone core on a container, so you're dealing with a couple of layers of "not supported" stuff.
UCMA applications will work fine on Windows Server Core as long as your application doesn't have any UI.
Nano Server I'm not sure.
As far as I know, Nano Server only runs 64-bit applications. UCMA application can run in 64 fine but what I don't know is what .net framework is supported on nano server. If it supports the full .net framework, it may work.
I don't think you will know unless you try it yourself and see if it works or not.

Actual meaning of windows services

I just want the explanation to the question 'what does windows services basically means?' I want some real time example that i can relate 'windows services' with?
Windows services are background running processes. they dont have UI. Windows services are installed in windows based machines to do some particular tasks on the background like a job. Windows Services has .exe extension but cannot run like a application.
click 'start' in your windows machine, type 'services.msc' and press Enter. This will open windows services installed in your current machine with their active status. If you stop some service, Some relevant application may misbehave. i.e, If any windows application that uses this service for some background job the application would crash.
Antivirus scan, Task scheduler which does some task at specified time are examples of windows services.
In development perspective windows services has
OnStart event (Fires when services start)
OnStop event (Fires when services stop)
timerElapsed event (if you set the interval as 15 seconds, this event fires every 15 seconds)
These services can be created using windows services template in visual studio and installed, uninstalled using 'installutil'
installutil -i servicepath\service.exe (installs service)
installutil -u servicepath\service.exe (uninstalls service)
Windows services can also host wcf services with mex binding. if you have any particular question do let me know. accept if it is useful

Cacti - after upgrade to 0.8.8a not graphing harddrive space on Windows servers

I have upgraded Cacti from 0.8.7g to 0.8.8a. (We use poller not spine).
I followed the upgrade instructions here - http://docs.cacti.net/manual:088:1_installation.3_upgrading#upgrading_cacti
Cacti Server; Linux RedHat server RHEL4connect to mysql
Not using custom scripts basically inbuilt server (index) scripts.
What doesnt graph is hard drive usage (hdtotal/hdfreespace) on windows or linux boxes
Windows servers will only graph network stats not hd/cpu.
I have confirmed that the OID in the Server script directory are correct. Went through the trouble shooting steps here - http://docs.cacti.net/manual:088:4_help.2_debugging#debugging
Linux server are ok with recording and displaying cpu/network but not hard drive data.
I realise this post is a bit all over the place, but new to cacti and want to fix these issues. Any information/help is appreciated. Even if it is just to set up a windows server monitoring graph.
Thanks
Roger
Did you rebuild the poller cache already ?
Go to Console -> System Utilities -> Rebuild Poller Cache
That rebuilds the cache which the poller is using. It sometimes get's not updated properly during an update leaving some graphs empty.
FYI
We had no luck with this upgrade and ended up rebuilding the server using packages available through redhat repositories.
Thanks for reading

Ruby on Rails and .NET Continous Integration & Version Control Setup

I'm a .NET developer and I've set up a git repository and teamcity on a windows server machine. I'm also starting to use/learn ruby and I'll be wanting to setup some CI for ruby on rails as well.
I was wondering what the best setup for this would be. I've only one machine I can use as a server.
Everything on Windows Server - I expect this will make things difficult for the ruby CI. I'm developing ruby on an Ubuntu VM inside windows 7.
Everything on Ubuntu (or other Linux) server - Big problems for .Net as I mono isn't up to date with some of the newest .net tech I use.
A windows server hosting a virtual Ubuntu server. Git and Ruby CI on the Ubuntu server and teamcity on the windows server.
The last choice is my favourite at the moment. But before investing lots of time in setting it all up I was wondering what others may have done in this situation.
I'd also like to start with some continuous deployment as well.
TeamCity will run rake tasks just fine. In fact, we use a rake task to package up our .net solution and deploy it. If the deployment is not too complex, sticking with a rake task on a your Windows server is probably fine.
For a more complex scenario you'd probably want a *nix based machine using Capistrano. From what I've read using Capistrano on a Windows machine is very difficult, but I haven't tried it myself.
I'm running Ubuntu inside a VirtualBox on a Windows7 Host and it works perfectly. You don't need windows server os. I skipped all the .NET-stuff, so I don't have any experience in running VisualStudio and VirtualBox parallel on the same box, but in this scenario you should have at least(!) 4 GB RAM and SSD.

Windows Service doesn't start automatically

I have a windows service written in .Net 3.5 set to be automatically start, but it wouldn't start when system reboots.
As I understand, it may be caused by my service's dependency aren't started when the services tries to start. I don't know what my service depends on. I tried the workaround by adding windows print spooler as one of my service's dependencies, since print spooler is one of the services start quite late during the boot-up. Well, the work around doesn't work neither.
I'm using windows server 2003 r2. so the "delayed automatically restart" option is not available to me. and I can't use windows server 2008 just for this.
I'm out of ideas at the moment. Any suggestion would be appreciated.
A few suggestions to try out:
Check the system even logs
Add logging to your service, e.g. to system event log or use log4net
Strip the service down to a single message in the start-up or create a new stripped-down minimal service with as little dependencies as possible. See whether this starts
Check under which account your service is running and whether this account has the permission to "Run As A Service"

Resources