Questions tagged [scheduled-tasks]

A Scheduled Task is a task that is scheduled to execute at a certain time (as the name is self-explanatory).

Filter by
Sorted by
Tagged with
6
votes
1answer
3k views

Task Reminder - Repeatedly notify every 6 hours

So I'm very much a beginner to Java and Android programming. I've worked a lot more with Python so I might have some quirks from there bleeding into my code here. I'd like a particular focus on ...
5
votes
1answer
344 views

Querying list of servers with PS to report on Scheduled Tasks

I work in a Windows environment where Scheduled Tasks have never been documented or kept up with, leaving us with about 150 servers that have a random smattering of tasks. I am attempting to construct ...
3
votes
1answer
435 views

Parallel scheduler for running actions at designated times

I've been trying to learn Haskell on and off for a couple years. I had a project for building a parallel web scraper, and I figured I'd try to use Haskell for it. Here's the part used to schedule ...
1
vote
0answers
89 views

Cron job that sends an email

The following is a sample cron job I've written that sends an email with some conditions. I haven't run it yet but I'm using another cron job (and will rewrite very soon) that does the same thing but ...
2
votes
0answers
81 views

PHP cron job for updating broadcast status

I am currently working on a re-occurring broadcast schedule. The whole idea is to setup a cron/task job that will update the broadcast flag "isLive" in a database table. Are there other options to ...
2
votes
2answers
5k views

Task scheduler for a particular application

This isn't meant as a scheduler for just any job. The job that I need to schedule here is very specific for an application I'm writing for one of my clients. The scheduler will run as a console ...
2
votes
1answer
173 views

Scheduling real world events for Arduino project

I am working on a project that involves scheduling real world events for a pool. Example: turn a pump on at 8AM, turn heater on at 9 AM, set heating temperature to 80 degrees, turn the pump off at 10 ...
4
votes
2answers
368 views

Performing actions based on command line arguments

I'm currently reviewing a bit of an older console application which performs certain tasks depending on the command line argument that is given. These tasks are called through Windows Task Scheduler. ...
7
votes
1answer
2k views

C++14 Async Task Scheduler

I'm not sure if this site has the right audience for anyone to be able to respond to this, but I wrote a header only scheduler which schedules a task to be run in the future on another thread: ...
6
votes
1answer
2k views

Task scheduler coding exercise

In an interview about multithreading I was asked to write code to satisfy the requirements below: In the exercise you need to provide implementation of single-threaded TaskScheduler class with the ...
0
votes
2answers
188 views

Streamlining a method to run faster

I did some guesswork tweaking and let the heap reach a maximum of ~450 megabytes (was originally using invokeAll). The program just finished in 6.3 minutes. I've ...
3
votes
1answer
117 views

Ported C# scheduling to Scala

I'm taking a design workshop and we've received a short task: To parse an input file of processor jobs. To simulate scheduling of those jobs on a parallel computer (each job needs X processors) The ...
6
votes
1answer
657 views

General Batched Job Runner

This question is inspired by: Generic Task Scheduler where the problem is to run tasks on a scheduled basis, in parallel, and have individual timeouts for each job. For example, consider this use-...
8
votes
1answer
5k views

Generic Java task-scheduler

I wrote this generic task scheduler for executing tasks in fixed-delay intervals. Can you find anything wrong with it, or issues that may arise from using it for sending something like queued mails in ...
6
votes
2answers
320 views

Displaying a scheduled job under a scheduled time

I use at to schedule jobs and atq to display the scheduled jobs. But it mildly irritates me in that I have to look up each job ...
4
votes
2answers
944 views

Flow Task Scheduler

Scenario: I wanted a task scheduler/doer that enables my application to schedule some tasks to be executed in a specified time but in the same order they were scheduled in or depending on their ...
10
votes
4answers
1k views

Schedule class (exercise for test driven development)

Schedule is a simple class that could be used in program to manage when a task should be repeated (a todo list, for example). Its constructor requires a start date ...
3
votes
1answer
18k views

Custom Task Scheduler

I want a task scheduler with some specific capabilities for my application. I've searched for a good library that provides me with the following, but found nothing. Queuing awaitable tasks. Ability ...
7
votes
1answer
14k views

Multithreaded task-scheduler

This is (supposedly) a multi-threaded scheduler for one-time and/or repeating tasks. The tasks are simple std::function<void()> objects. I built it to be a ...
18
votes
3answers
47k views

C++ Task Scheduler

I needed a task scheduler that could be used somehow like this: ...
0
votes
2answers
118 views

Collection of schedules

I hava a collection of schedules - EventSchedules. I want to select from this collection today, tomorrow and after tomorrow schedules. The day start from 06:00 and ...
7
votes
1answer
5k views

Simple Job Scheduler Class

I've created a simple daily task scheduler but I'd like to change this to a general task scheduler accepting more advanced schedules. I'd like to have some critiques from other sets of eyes on my ...
3
votes
1answer
686 views

Kill dead instances of Excel on a server

We have several legacy programs (VB6) generating Excel report. They are scheduled tasks running on a server. Yes, violate this. As a result, we've got lots of "dead" instances of Excel on the server. ...
4
votes
2answers
2k views

Task scheduler API

I'm spec'ing out a API for a task scheduler and I would be thankful for your thoughts. This is what I've got so far: ...
4
votes
1answer
3k views

Asynchronous task runner

This is my personal project. This class is responsible for running jobs asynchronously that are registered using dependency injection. All improvement suggestions are welcome. It can be as small as ...

1
2