Questions tagged [job-scheduling]

A job scheduler is a computer application for controlling unattended background program execution (commonly called batch processing).

Filter by
Sorted by
Tagged with
1099 votes
10 answers
535k views

How do I put an already-running process under nohup?

I have a process that is already running for a long time and don't want to end it. How do I put it under nohup (that is, how do I cause it to continue running even if I close the terminal?)
flybywire's user avatar
  • 267k
67 votes
4 answers
39k views

What tools are available to test JobScheduler?

We're implementing a Job via JobScheduler for background loading of data. The job will fire about once a day. What tools are available for us to test this functionality (possibly ADB)? Use cases are ...
greg7gkb's user avatar
  • 4,980
64 votes
4 answers
72k views

Run a Jenkins job every one minute using H/1 * * * *

How can I run a job created in Jenkins every one minute ? Am I missing anything? PS: I'm trying not to use: */1 * * * *
AKS's user avatar
  • 16.8k
58 votes
3 answers
51k views

Alternatives to Quartz for job scheduling [closed]

Has anyone found any alternative open-source solutions to Quartz which they are happy with? I know Cronacle is a well respected (and pricey) closed source solution for job scheduling but I'd like to ...
cclark's user avatar
  • 1,422
46 votes
2 answers
47k views

What is Spark Job ?

I have already done with spark installation and executed few testcases setting master and worker nodes. That said, I have a very fat confusion of what exactly a job is meant in Spark context(not ...
chaosguru's user avatar
  • 1,963
44 votes
8 answers
74k views

Spring and scheduled tasks on multiple instances

We have a Spring Boot application, and have scheduled tasks. We want to deploy our application on multiple servers, so will be multiple instances of application. How to configure Spring to run ...
Combo's user avatar
  • 915
38 votes
4 answers
50k views

EJB @Schedule wait until method completed

I want to write a back-ground job (EJB 3.1), which executes every minute. For this I use the following annotation: @Schedule(minute = "*/1", hour = "*") which is working fine. However, sometimes ...
Phil P.'s user avatar
  • 383
27 votes
5 answers
42k views

Triggering spark jobs with REST

I have been of late trying out apache spark. My question is more specific to trigger spark jobs. Here I had posted question on understanding spark jobs. After getting dirty on jobs I moved on to my ...
chaosguru's user avatar
  • 1,963
26 votes
1 answer
10k views

SecurityException: Caller no longer running

I am facing below issue in Android O and above when trying to run my JobIntentService, I am having a tough time to reproduce the issue : Caused by java.lang.SecurityException: Caller no longer ...
Santhosh's user avatar
  • 1,867
23 votes
7 answers
76k views

Show all MySQL events that are running on my database?

I have a MySQL database. I am running two MySQL EVENTs. I need to get rid of one. I don't remember it's name. What do I do?
Don P's user avatar
  • 62k
23 votes
2 answers
22k views

job scheduler in android N with less then 15 minutes interval

Part of my question, how I can set up a job with less then 15 minutes interval in "Nougat", was answerd by "blizzard" in his answer here: Job Scheduler not running on Android N He explained the ...
tomseitz's user avatar
  • 503
20 votes
4 answers
29k views

DBMS_JOB vs DBMS_SCHEDULER

What is the difference between DBMS_JOB and DBMS_SCHEDULER ?
kupa's user avatar
  • 1,880
20 votes
3 answers
18k views

What is a good Sidekiq-like job system for node.js? [closed]

(Most of the questions asked here about this subject are a bit old, and I was wondering what had change in the Node ecosystem it all those years.) I'm basically looking to implement a job queue in an ...
Guillaume Flandre's user avatar
20 votes
2 answers
3k views

YARN not preempting resources based on fair shares when running a Spark job

I have a problem with re-balancing Apache Spark jobs resources on YARN Fair Scheduled queues. For the tests I've configured Hadoop 2.6 (tried 2.7 also) to run in pseudo-distributed mode with local ...
Momchil Hardalov's user avatar
18 votes
3 answers
49k views

How to check whether Quartz cron job is running?

How to check if scheduled Quartz cron job is running or not? Is there any API to do the checking?
kusumat's user avatar
  • 339
17 votes
2 answers
23k views

Cancel or Delete Scheduled Job - HangFire

I have scheduled a Job via using Hangfire library. My scheduled Code like below. BackgroundJob.Schedule(() => MyRepository.SomeMethod(2),TimeSpan.FromDays(7)); public static bool ...
Vijjendra's user avatar
  • 24.7k
17 votes
1 answer
10k views

How jobs are assigned to executors in Spark Streaming?

Let's say I've got 2 or more executors in a Spark Streaming application. I've set the batch time of 10 seconds, so a job is started every 10 seconds reading input from my HDFS. If the every job ...
gprivitera's user avatar
17 votes
3 answers
8k views

Android JobScheduler onStartJob called multiple times

The JobScheduler calls onStartJob() multiple times, although the job finished. Everything works fine, if I schedule one single job and wait until it has finished. However, if I schedule two or more ...
vRallev's user avatar
  • 5,012
16 votes
3 answers
27k views

Design a generic job scheduler [closed]

I am trying to design a generic job scheduler to expand my architectural knowledge and ability to think about system design questions in interviews. So far, what I have come up with is below. Can you ...
stretchr's user avatar
  • 615
15 votes
1 answer
19k views

What is exactly mean by 'DisallowConcurrentExecution' in Quartz.net

I have a Quartz.net Job with the following definition. [PersistJobDataAfterExecution] [DisallowConcurrentExecution] public class AdItemsJob : IJob, IInterruptableJob { public ...
Ishtiaq's user avatar
  • 1,040
15 votes
1 answer
3k views

How to best run Apache Airflow tasks on a Kubernetes cluster?

What we want to achieve: We would like to use Airflow to manage our machine learning and data pipeline while using Kubernetes to manage the resources and schedule the jobs. What we would like to ...
Ricky Lui's user avatar
  • 155
15 votes
2 answers
26k views

Meaning of pending machine in autosys

Many time I have seen some of our autosys jobs go into status: Pending Machine. What is the meaning of this status? And its generally the com job and not the box job that goes into this status (box is ...
dvai's user avatar
  • 2,019
13 votes
1 answer
23k views

Combining Quartz.Net with UI

I have been working on MVC3 project. I have just created Sample email sending job with Quartz.Net in my application. This time, I need to build a job scheduling system in my MVC3 project. The scenario ...
Dheyvendaran's user avatar
13 votes
1 answer
4k views

Android JobScheduler running way too often when using setPeriodic()

I noticed my scheduled JobScheduler is executing the job way too often. I have it set to execute daily and it requires to be idle, to be on wlan and to be charging, but when those conditions are met ...
qwertz's user avatar
  • 6,246
13 votes
2 answers
11k views

when a quartz job fires, is it a new job class instance?

I am very new to Quartz and I have some doubts about the jobs lifecycle. Let's suppose I have a single job configured to do some stuff. The job fires and ends its work. When it fires again is it the ...
MaVVamaldo's user avatar
  • 2,525
13 votes
2 answers
6k views

What is a "MySQL event"?

What is a "MySQL event"? What is its purpose? How is it different from a "job scheduler"? Many posts on SO, and the MySQL documentation, describe how to implement MySQL events, but I am just ...
Don P's user avatar
  • 62k
13 votes
4 answers
2k views

GcmNetworkManager scheduling issues

I am using GcmNetworkManager in my application for periodic and one of task task execution. I am getting these 2 errors and unable to figure out the reason. Implementation is correct as i am unable to ...
user2662821's user avatar
13 votes
1 answer
2k views

Maximize profit in scheduling unit tasks with dependencies

Problem I have n jobs to schedule in P seconds on unlimited number of machines with dependencies between the jobs i.e . for every job there is a set of jobs which are to be scheduled only after this ...
v78's user avatar
  • 2,883
12 votes
2 answers
20k views

How to get next run time Spring Scheduling?

I am working on a scheduling project which executes multiple jobs at regular intervals. I am using a cron scheduling as in the example below. The jobs are getting executed successfully no problems. ...
Sathish Prakasam's user avatar
12 votes
8 answers
86k views

Windows Task Scheduler Doesn't Run VBScript

I am trying to automate a VBScript by using Windows Task Scheduler. However, I tried to use cscript.exe + "C:\...\script.vbs" but it didn't run. I also tried to directly run the same command in CMD (...
lovechillcool's user avatar
12 votes
1 answer
48k views

Running cron job/task at every hour [duplicate]

Which one is the correct syntax for running a job at every hour? 0 0 * * * * 0 0 */1 * * * Also how are they both different?
N.A's user avatar
  • 225
12 votes
2 answers
13k views

CPU Scheduling : Finding burst time

In the FCFS scheduling algorithm the drawback is that if a process P1 with a higher burst time comes before some processes P2,P3... with much smaller burst times then the average waiting time and ...
Dubby's user avatar
  • 1,154
12 votes
3 answers
12k views

How to schedule a cron job in spring boot without using @Scheduled() annotation

In spring boot, can I schedule a spring job by not using @Scheduled annotation to a method? I am working with spring job in the spring boot. I want to schedule a job by using cron expression, but ...
Aram1289's user avatar
  • 135
12 votes
2 answers
2k views

How to tell Condor to dispatch jobs only to machines on the cluster, that have "numpy" installed on them?

I just figured out how to send jobs to be processed on machines on the cluster by using Condor. Since we have a lot of machines and not each of those machines are configured the same, I was wondering: ...
Aufwind's user avatar
  • 25.8k
12 votes
1 answer
3k views

What's best practice for HA gearman job servers

From gearman's main page, they mention running with multiple job servers so if a job server dies, the clients can pick up a new job server. Given the statement and diagram below, it seems that the job ...
Paul DelRe's user avatar
  • 4,031
11 votes
1 answer
42k views

Running a Cron job daily from 6 am to 11:30 pm [closed]

Could you help me please to run my cron job daily from 6 am to 11:30 pm in the following format command path Thanks
Samiul's user avatar
  • 485
11 votes
3 answers
1k views

Play Framework: Impact of Jobs on the stateless model

One of the great things about the Play framework is that it is fully stateless and only request/response-oriented. This is really nice since it allows me to deploy my app to the cloud and scale the ...
stikkos's user avatar
  • 1,946
10 votes
2 answers
18k views

withoutOverlapping() is not working in Laravel Schedule

$schedule->call(function () { error_log("Line Schedule 1:Start"); //Send Email error_log("Line Schedule 1:End"); })->everyFiveMinutes()->...
Awais Mushtaq's user avatar
10 votes
2 answers
2k views

Implementing first fit like algorithm

Problem: I have 3 machines, each machine have a limit of 30 ms time, each machine have 3 zones that a task can't be executed there. The tasks have a P (priority) and W (weight, which is the time to ...
SIFE's user avatar
  • 5,635
10 votes
6 answers
12k views

Distributed Job scheduling, management, and reporting

I recently had a play around with Hadoop and was impressed with it's scheduling, management, and reporting of MapReduce jobs. It appears to make the distribution and execution of new jobs quite ...
teabot's user avatar
  • 15.4k
9 votes
5 answers
9k views

Is sleep() a good idea for the main loop of a job-scheduling app

I'm writing a job-scheduling app in Ruby for my work (primarily to move files using various protocol at a given frequency) My main loop looks like this : while true do # some code to launch the ...
Yoann Le Touche's user avatar
9 votes
5 answers
26k views

Strange behavior of quartz in cluster configuration

I'm developing scheduled services. The application is developed using JDK 1.6, Spring Framework 2.5.6 and Quartz 1.8.4 to schedule jobs. I've two clustered servers with WebLogic Server 10.3.5. ...
Claudio Query's user avatar
9 votes
3 answers
4k views

How can I convert a Bundle to a PersistableBundle?

API21 released the PersistableBundle which is a bundle that the system retains for various purposes (JobScheduler jobs, ShortcutInfos etc). I'd like an easy way to convert the Bundle's that are ...
Reuben Tanner's user avatar
9 votes
1 answer
8k views

Adding and removing jobs dynamically to Quartz.NET Windows Service

I am developing an email marketing WinForm application. And for the scheduling of campaigns, I decided to use Quartz.NET. I need it to be running as a Windows Service. but I also want the user to be ...
disasterkid's user avatar
  • 7,112
9 votes
1 answer
9k views

Quartz Scheduler: Trigger some jobs on every cluster node and some only once per cluster

I am using Quartz Scheduler as a Spring bean in a clustered environment. I have some jobs annotated with @NotConcurrent and they are running once per cluster (i.e. only in one node, only in one ...
Michaelsoft's user avatar
9 votes
2 answers
2k views

Task Scheduling with complex dependencies

I'm looking for a way of scheduling tasks where a task starts once several previous tasks have completed. I have several hundred "collector" processes which collect data from a variety of sources and ...
Crashthatch's user avatar
  • 1,293
9 votes
1 answer
4k views

how to detect if a thread or process is getting starved due to OS scheduling

This is on Linux OS. App is written in C++ with ACE library. I am suspecting that one of the thread in the process is getting blocked for unusually long time(5 to 40 seconds) sometimes. The app runs ...
Medicine's user avatar
  • 1,993
8 votes
2 answers
5k views

C# - Windows Service with awareness of System Time

I am thinking about writing a windows service that will turn a certain functionality on or off at times specified by the user (using a configuration utility I will provide). Basically, the user would ...
Brendon Dugan's user avatar
8 votes
4 answers
19k views

Open Source Job Scheduler with REST API

Are there any open source Job Scheduler with REST API for commercial use which will support features like: Tree like Job dependency Hold & Release Rerun failed steps Parallelism Help would be ...
Kiran's user avatar
  • 20.3k
8 votes
1 answer
2k views

Job Scheduling in Haskell

What work has been done so far in Haskell to the effect of scheduling jobs for execution in a native way? Here's an sketch of what I am thinking. Say I have a function work I want executed at Date, ...
thegravian's user avatar

1
2 3 4 5
28