kevincolyar / cronnet Goto Github PK
View Code? Open in Web Editor NEWC# library for running cron jobs on .NET
License: MIT License
C# library for running cron jobs on .NET
License: MIT License
Hello,
It works like charm. Thanks a lot.
Please can you add a parameterized thread too so that I can receive a parameter when my cron job starts.
thanks a lot.
Kind regards,
Vinay
I get this exception:
ortedException Thread abort is not supported on this platform.
at void System.Threading.Thread.Abort()
at void CronNET.CronJob.abort()
at void CronNET.CronDaemon.Stop()
Thread Abort is not supported in NetCore.
// if (DateTime.Now.Minute != _last.Minute)
// {
_last = DateTime.Now;
foreach (ICronJob job in cron_jobs)
job.execute(DateTime.Now);
// }
This project looks good. Please, add a license. If you don't care, I will suggest the MIT license.
Hello,
I tried to schedule a task at * 1,10,20 * * * but i got bad expression error. It will be very helpful if cronNET support such kind of expression. Is there any work around for these kind of expressions?
Thank you
Look at the excerpt from man pages (https://linux.die.net/man/5/crontab):
Note: The day of a command's execution can be specified by two fields - day of month, and day of week. If both fields are restricted (ie, aren't *), the command will be run when either field matches the current time. For example,
"30 4 1,15 * 5" would cause a command to be run at 4:30 am on the 1st and 15th of each month, plus every Friday.
Hi,
Please, I need some guide how to implement a CronJob with async methods in WebApi, I tried put it in startup, but OWIN configure is non-async.
Thanks in advance.
can you fix your license to include your name and year
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.