ohmycron
QuartzNet
ohmycron | QuartzNet | |
---|---|---|
1 | 30 | |
138 | 6,242 | |
0.7% | 0.8% | |
0.0 | 8.4 | |
about 6 years ago | 5 days ago | |
Shell | C# | |
ISC License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ohmycron
-
A almost perfect rsync over SSH backup script
> # avoidng collisions with other rsync processes
Use https://github.com/instacart/ohmycron
> MONTHROTATE=monthrotate # use DD instead of YYMMDD
Use https://rotate-backups.readthedocs.io/en/latest/readme.html
> $RSYNC -avR "$SOURCE" "${RSYNCCONF[@]}"
Just create a one-line script with the hardcoded rsync command you want to use and replace the directory to sync as a command-line argument, e.g.
#!/bin/sh
QuartzNet
-
I open-sourced a lib for Message Queueing /w MongoDB - wise idea?
I would agree with using Job over Queue. Therefore I would recommend looking at Quartz.Net https://www.quartz-scheduler.net/
-
Sending recurring reminders through text message at user-defined times.
You can use something like https://www.quartz-scheduler.net/ to create multiple recurring jobs based on the definition you load from a DB.
-
Suggestions to scale this existing process
Or use an existing open source scheduling solution like https://www.quartz-scheduler.net/
- Hangfire - Schedule Background Jobs in ASP.NET Core
-
.NET Timer
If you're interested in using Quartz, you can check out their GitHub repo here: https://github.com/quartznet/quartznet. They also have extensive documentation available on their website: https://www.quartz-scheduler.net/documentation/index.html.
- How to do Recurring weekly events with timezones?
-
async await is doing problems in the background jobs(console scheduler app)
You should use an actual scheduler. https://www.quartz-scheduler.net/
- Is this the best way to have a thread manager?
- Scheduled job in dot ent
-
Will background threads be forced to exit in finally blocks once all main threads have exited
Better to use a framework like Quartz.NET for scheduling background tasks. How it works inside the box I have no idea, but I have used it extensively in my web applications, and those background tasks run 24/7, come hell or high water. It's a good library, and it's easy to use.
What are some alternatives?
minicron - 🕰️ Monitor your cron jobs
Hangfire - An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
borg-cron-helper - Helper shell scripts for BorgBackup to automate backups and make your life easier… 😉
FluentScheduler - Automated job scheduler with fluent interface for the .NET platform.
kopia - Cross-platform backup tool for Windows, macOS & Linux with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication. CLI and GUI included.
Coravel - Near-zero config .NET library that makes advanced application features like Task Scheduling, Caching, Queuing, Event Broadcasting, and more a breeze!
Rsnapshot - a tool for backing up your data using rsync (if you want to get help, use https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss)
Cronos - A fully-featured .NET library for working with Cron expressions. Built with time zones in mind and intuitively handles daylight saving time transitions
tummy-backup - Disc-to-disc backup system using ZFS for deduplication and efficient storage.
Workflow Core - Lightweight workflow engine for .NET Standard
restic - Fast, secure, efficient backup program
NCrontab - Crontab for .NET