jakesays-old / ncrontab Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/ncrontab
License: Apache License 2.0
Automatically exported from code.google.com/p/ncrontab
License: Apache License 2.0
What steps will reproduce the problem?
1. Build the solution
2. Run unit test without attaching debugger
What is the expected output? What do you see instead?
Expected: green result
Instead: DontLoopIndefinitely is red
What version of the product are you using? On what operating system?
NCrontab 0.2
Please provide any additional information below.
Body of TimeCron should be changed:
if (worker.Join(!Debugger.IsAttached ? (int)limit.TotalMilliseconds :
Timeout.Infinite))
instead of
if (worker.Join(!Debugger.IsAttached ? limit.Milliseconds : Timeout.Infinite))
=> use the TotalMilliseconds property of a TimeSpan .
Original issue reported on code.google.com by [email protected]
on 25 Nov 2008 at 9:07
The current release implementation (version 0.2) of
NCrontabViewer.MainForm.Diff does not work with DateTime-Strings of specific
locales. Example: try to use the application on a computer with German locale.
Reason: the length of the short weekday name is just 2 (not 3).
Possible workaround:
Change line 138 of MainForm.cs to
var timeString = occurance.ToString("ddd dd, MMM yyyy HH:mm",
CultureInfo.InvariantCulture);
http://code.google.com/p/ncrontab/source/browse/tags/0.2/src/NCrontabViewer/Main
Form.cs#138
Original issue reported on code.google.com by [email protected]
on 26 Jan 2011 at 10:20
What steps will reproduce the problem?
1. Run the unittests in NCrontab 0.2 without debugger attached.
2. DontLoppIndefinitely will fail.
Expected results:
DontLoppIndefinitely test should pass
Actual results:
The test fails with the message "The test did not complete in the allocated
time".
Suggested fix:
Issue is in NCrontab.Tests.CrontabSchduleTests:256:
if (worker.Join(!Debugger.IsAttached ? limit.Milliseconds : Timeout.Infinite))
since Milliseconds only contains the fractional number of milliseconds (<
1000). You would probably want something like:
if (worker.Join(!Debugger.IsAttached ? (int)limit.TotalMilliseconds :
Timeout.Infinite))
Original issue reported on code.google.com by [email protected]
on 11 Aug 2010 at 9:28
On a computer with (swiss-)german regional settings, an exception is
thrown in the viewer.
Problem: Date to string conversion use current culture, but after
conversion, the day string has not always 3 letters
Original issue reported on code.google.com by [email protected]
on 25 Sep 2008 at 10:30
Attachments:
Please sign the ncrontab assembly in nuget! I'm currently signing and
maintaining my own version because I need to reference it in a signed assembly.
Thanks :)
Original issue reported on code.google.com by [email protected]
on 27 Jun 2013 at 9:54
What steps will reproduce the problem?
1. Create the following expression:
'10 1 * * *'
2. Use the following start and end DateTimes:
START: 3/2/2010 1:10:00 AM
END: 3/2/2010 1:15:00 AM
What is the expected output? What do you see instead?
Expected Results: 1 match
Actual Results: no match at all
What version of the product are you using? On what operating system?
AssemblyVersion("0.2.10124.0")
AssemblyFileVersion("0.2.10124.1211")
Windows XP / .NET 3.5
Please provide any additional information below.
-
Original issue reported on code.google.com by [email protected]
on 2 Mar 2010 at 10:14
What steps will reproduce the problem?
Use NCrontab to get the next occurrence after 2012-01-27T12:23:37 for the
following two expressions:
- "30 1 * * Sun-Sat | UTC"
- "30 1 * * Mon-Sun | UTC"
What is the expected output? What do you see instead?
Both expressions say "1:30 A.M. every weekday", so the expected output is
2012-01-28T01:30:00. But the second expression yields something else (29th
instead of 28th). I assume that NCrontab treats "Mon-Sun" (numerical: 1-0) as
"Sun-Mon" (numerical: 0-1) which is not really what I would expect!?
What version of the product are you using? On what operating system?
NCrontab 1.0
Original issue reported on code.google.com by andreas.sommer87
on 3 Feb 2012 at 12:28
Hello,
is it possible to extend the expression to seconds?
I did it now for myself, but it would be nice if this can be switched on and
off in the original sourcebase.
Thanks a lot for your work,
Mandy
Original issue reported on code.google.com by [email protected]
on 23 Aug 2012 at 3:23
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.