Skip to main content
Filter by
Sorted by
Tagged with
188 votes
2 answers
122k views

I am trying to understand what the difference is between SLURM's srun and sbatch commands. I will be happy with a general explanation, rather than specific answers to the following questions, but here ...
dkv's user avatar
  • 7,392
131 votes
4 answers
405k views

I have a long running python script that I want to do someting at 01:00 every morning. I have been looking at the sched module and at the Timer object but I can't see how to use these to achieve this....
Paul McKenzie's user avatar
81 votes
10 answers
341k views

I mean to open the built-in Windows GUI from command line- not to launch by Schtasks
user avatar
64 votes
7 answers
156k views

In Linux, supposing a thread's pid is [pid], from the directory /proc/[pid] we can get many useful information. For example, these proc files, /proc/[pid]/status,/proc/[pid]/stat and /proc/[pid]/...
flypen's user avatar
  • 2,665
57 votes
7 answers
20k views

There is literally no tutorial about using Heroku Scheduler with Node.js. Assume that I have a function called sayHello() and I would like to run it every 10 mins. How can I use it in controller. In ...
Ali's user avatar
  • 5,506
56 votes
2 answers
38k views

Spring offers the possibility to schedule and execute tasks at specific intervals using annotations, e.g. @Scheduled Is there a convenient way to unit test this behavior? Of course I could call the ...
David's user avatar
  • 1,096
48 votes
4 answers
83k views

I have an Android app on Play store for 8 years. Recently Google release Android S or 12 introduce some limit with Foreground service launch restrictions https://developer.android.com/about/versions/...
DzungPV's user avatar
  • 1,911
45 votes
4 answers
79k views

I want to have my computer set its volume to a specific level every night at 11:45 PM. I'm running OSX 10.11.4. I can set the volume manually through terminal with osascript -e "set Volume 1.7" or ...
Naboo's user avatar
  • 451
39 votes
15 answers
90k views

I have created a Spring Boot application. I have configured my class that contains the scheduler method startService(). Below is my code : Service Class : package com.mk.service; import org....
Mohith Kumar's user avatar
37 votes
3 answers
71k views

Is it possible to crate a job that will trigger immediately ? when i want the job to be triggres now i builed a cron expression string with the current date and time - i think it's too complicated, is ...
user590586's user avatar
  • 3,050
35 votes
3 answers
31k views

I am trying to get a better understanding so I can scope the reliability impact from potential interoperability issues when creating an android app/service. I would like to figure out how process ...
Gregg Rivinius's user avatar
34 votes
3 answers
31k views

Looking through the scheduler source code (2.6.34, kernel/sched.c), I can see how the "pluggable" schedulers are used, and I believe I understand the interface to be implemented. What I don't ...
J Teller's user avatar
  • 1,441
32 votes
3 answers
52k views

I have a ScheduledThreadPoolExecutor with which I schedule a task to run at a fixed rate. I want the task to be running with a specified delay for a maximum of say 10 times until it "succeeds". After ...
linusv's user avatar
  • 4,108
30 votes
2 answers
14k views

I've been reading through Heroku's documentation but just found it plain confusing. I have an app up that has both a web-based front-end (with web process) and a task that's set to run every day at ...
jdotjdot's user avatar
  • 17.3k
28 votes
2 answers
23k views

I was reading this article, but my question is on a generic level, I was thinking along the following lines: Can a kernel be called real time just because it has a real time scheduler? Or in other ...
brokenfoot's user avatar
  • 11.7k
27 votes
5 answers
24k views

I have one kubernetes cluster with 4 nodes and one master. I am trying to run 5 nginx pod in all nodes. Currently sometimes the scheduler runs all the pods in one machine and sometimes in different ...
Prakash's user avatar
  • 2,802
27 votes
4 answers
9k views

I've read in multiple places that Linux's default scheduler is hyperthreading aware on multi-core machines, meaning that if you have a machine with 2 real cores (4 HT), it won't schedule two busy ...
nh2's user avatar
  • 26k
24 votes
1 answer
26k views

What's an efficient way to calculate the next run time of an event given the current time and a cron spec? I'm looking for something other than "loop through every minute checking if it matches spec"....
Parand's user avatar
  • 107k
24 votes
4 answers
18k views

In a java web application (servlets/spring mvc), using tomcat, is it possible to run a cron job type service? e.g. every 15 minutes, purge the log database. Can you do this in a way that is ...
mrblah's user avatar
  • 104k
22 votes
3 answers
28k views

I am using ScheduledExecutorService, and after I call it's shutdown method, I can't schedule a Runnable on it. Calling scheduleAtFixedRate(runnable, INITIAL_DELAY, INTERVAL, TimeUnit....
walters's user avatar
  • 1,467
21 votes
2 answers
23k views

I have been reading about Linux Kernel and CFS scheduler in the kernel. I came across vruntime (virtual runtime) that is the core concept behind CFS scheduler. I read from “Linux Kernel Development” ...
iammurtaza's user avatar
  • 1,027
20 votes
4 answers
45k views

I'm looking for an open source/free task scheduler for Windows 7 (development machine) that will allow me to schedule tasks (HTTP requests to a web service) to run every x seconds. I've tried a ...
Barry Jordan's user avatar
  • 2,706
20 votes
1 answer
22k views

What is the difference between "RES: Rescheduling interrupts" and "LOC: Local timer interrupts"? What is responsible to fire the RES interrupt? Is LOC same as the general timer interrupt that is ...
user31986's user avatar
  • 1,676
19 votes
5 answers
11k views

I'm using Quartz Scheduler v.1.8.0. What's the difference between scheduler.standby() and scheduler.pauseAll()? standby() - Temporarily halts the Scheduler's firing of Triggers. ...
Gnanam's user avatar
  • 11k
18 votes
1 answer
28k views

from apscheduler.scheduler import Scheduler import os class ListHref(): def __init__(self): print 'In ListHref Class!' self.name_hrefs = {} self.name_img = {} self.path ...
Dyllian's user avatar
  • 223

1
2 3 4 5
70