Questions tagged [job-scheduling]

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

Today's job schedulers, often termed workload automation, typically provide a graphical user interface and a single point of control for definition and monitoring of background executions in a distributed network of computers. Increasingly, job schedulers are required to orchestrate the integration of real-time business activities with traditional background IT processing across different operating system platforms and business application environments.

1328 questions
12
votes
8 answers

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 (cscript.exe "C:\...\script.vbs") and it…
lovechillcool
  • 762
  • 2
  • 10
  • 32
12
votes
2 answers

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 average completion time is pretty high. A solution…
Dubby
  • 1,154
  • 3
  • 16
  • 31
11
votes
3 answers

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 number of play instances behind my load balancer…
stikkos
  • 1,916
  • 2
  • 19
  • 34
11
votes
1 answer

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

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
  • 485
  • 3
  • 7
  • 15
10
votes
3 answers

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 without using @Scheduled(cron = " ") annotation to…
Aram1289
  • 115
  • 1
  • 1
  • 6
10
votes
2 answers

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. However for a requirement I want to calculate and…
10
votes
2 answers

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()->name('event_name:1')->withoutOverlapping(); …
Awais Mushtaq
  • 633
  • 1
  • 10
  • 23
10
votes
6 answers

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 seamless, allowing the developer to concentrate on the…
teabot
  • 15,358
  • 11
  • 64
  • 79
10
votes
2 answers

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 complete the task in this setup), tasks must be…
SIFE
  • 5,567
  • 7
  • 32
  • 46
9
votes
1 answer

Running cron job/task at every hour

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
  • 187
  • 1
  • 1
  • 5
9
votes
2 answers

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 dump it to a database. Once these have finished…
Crashthatch
  • 1,283
  • 2
  • 13
  • 20
9
votes
3 answers

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 present in my old code to PersistableBundle's...how can…
Reuben Tanner
  • 5,229
  • 3
  • 31
  • 46
9
votes
1 answer

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 able to add a job (e.g. a campaign that needs to…
disasterkid
  • 6,948
  • 25
  • 94
  • 179
9
votes
1 answer

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 thread). Now I need to run one job on every node of the…
9
votes
5 answers

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. Sometimes it seems that the scheduling of quartz goes…
1 2
3
88 89