The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
2
votes
1answer
169 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
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 ...
0
votes
2answers
183 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 ...
6
votes
2answers
315 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 ...
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 ...
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 ...
3
votes
1answer
115 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 ...
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 ...
6
votes
1answer
607 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-...
3
votes
1answer
664 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: ...
7
votes
1answer
1k 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: ...
4
votes
2answers
905 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 ...
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
13k 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 ...
4
votes
2answers
365 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. ...