Export to GitHub

ncron - issue #27

Jobs Not Firing


Posted on Feb 13, 2015 by Helpful Monkey

What steps will reproduce the problem? ~ Unknown at this time. There are no errors in the logs and the program works fine on some servers and completely skips scheduled events on others.

What is the expected output? What do you see instead? ~ My service runs a custom backup utility for certain server software I am responsible for. The schedules are simple (weekly in most cases) and work fine on some servers but not on others with no apparent connection across platform or environment variables for those that either do or do not work.

What version of the product are you using? On what operating system? ~ 2.2.4464.19320 on server versions of windows ranging from 2003 through 2012. System version does not seem to be a factor.

Please provide any additional information below. ~ My real question is if there is a method for querying the ncron package to see when it expects to fire next, and or if it throws an error if something keeps it from firing...the lack of activity and lack of log entries or errors has be baffled as to the cause at the moment.

Comment #1

Posted on Feb 14, 2015 by Quick Horse

Sounds strange. Could it be a permissions issue? For instance, are you absolutely sure that the user account executing your NCron based application has permissions to write to your log file?

If you are running your NCron based application as a Windows service, and an unhandeled exception should occur, I would expect it to be recorded under the Application source in Windows' event log.

If you need to add additional log statements in the core code or wish to attach a debugger, consider downloading the NCron source and reference the Visual Studio project rather than the NuGet package/dll file.

Source code: https://github.com/schourode/ncron

Status: New

Labels:
Type-Defect Priority-Medium