A schedule is the arrangement of events in time.
Questions tagged [schedule]
1575 questions
120
votes
7 answers
Scheduling R Script
I have written an R script that pulls some data from a database, performs several operations on it and post the output to a new database.
I would like this script to run every day at a specific time but I can not find any way to do this…
![](../../users/profiles/336067.webp)
ETD
- 1,201
- 2
- 9
- 3
76
votes
4 answers
How do I schedule a task to run at periodic intervals?
I was trying some codes to implement a scheduled task and came up with these codes .
import java.util.*;
class Task extends TimerTask {
int count = 1;
// run is a abstract method that defines task performed at scheduled time.
public…
![](../../users/profiles/514493.webp)
Manish Basdeo
- 5,797
- 21
- 64
- 98
74
votes
10 answers
How to schedule a build in Jenkins?
How do I schedule a Jenkins build such that it would be able to build only at specific hours every day?
For example to start at 4 PM
0 16 1-7 * *
I understand that as, "at 0 minutes, at 4 o'clock PM, from Monday to Sunday, every month", however it…
![](../../users/profiles/619673.webp)
deadfish
- 11,064
- 11
- 79
- 125
46
votes
2 answers
crontab run every 15 minutes between certain hours
Is this correct scheduled to run between 07:00 and 19:00 at every 15 minutes?
*/15 07-19 * * * /path/script
![](../../users/profiles/5588639.webp)
catalin
- 760
- 2
- 12
- 25
38
votes
8 answers
Android close dialog after 5 seconds?
I'm working on an accesibility app. When the user wants to leave the app I show a dialog where he has to confirm he wants to leave, if he doesn't confirm after 5 seconds the dialog should close automatically (since the user probably opened it…
![](../../users/profiles/535967.webp)
lisovaccaro
- 27,544
- 92
- 235
- 388
36
votes
4 answers
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 the job may take more than one minute. In this case,…
![](../../users/profiles/1990867.webp)
Phil P.
- 363
- 1
- 3
- 6
35
votes
23 answers
Java Spring @Scheduled tasks executing twice
I have a simple test method here that is set to run every 5 seconds and it does, but looking at the System.out you can see it appears to be doing something odd.
@Scheduled(cron="*/5 * * * * ?")
public void testScheduledMethod() {
…
![](../../users/profiles/1160629.webp)
KS1
- 919
- 5
- 18
- 32
30
votes
2 answers
@Schedule annotation run every few minutes (or seconds)
I would like to try to use the @Schedule annotation in the following way:
public class MyTestServlet extends HttpServlet {
private static JcanLogger LOG = JcanLoggerFactory.getLogger(ServiceTestServlet.class);
@EJB CronService…
![](../../users/profiles/303352.webp)
cscsaba
- 1,189
- 3
- 18
- 30
23
votes
6 answers
How do you estimate an agile project up front?
When working on fixed price software development projects, I frequently find myself having to estimate the total number of hours a project will take after the price is set, but before the work is started (or VERY early on in the development). …
![](../../users/profiles/26527.webp)
carter
- 619
- 2
- 8
- 15
22
votes
1 answer
Identify and cancel an alarm send to an AlarmManager
If I use the AlarmManager to schedule an alarm (a PendintIntent which should be send), how can I identify that alarm later to cancel it? Can I cancel all alarms scheduled by my app?
![](../../users/profiles/474326.webp)
cody
- 5,377
- 13
- 47
- 69
22
votes
3 answers
Can the EJB 3.1 @Schedule be configured outside of the application code?
How can I configure a schedule intervals:
@Schedule(persistent=true, minute="*", second="*/5", hour="*")
outside of the application code?
How can I configure it in ejb-jar.xml?
Can I configure it outside the application (kind of properties file)?
![](../../users/profiles/478146.webp)
Moran
- 221
- 1
- 2
- 3
21
votes
6 answers
How to interrupt or stop currently running quartz job?
I have some tasks that are executed with the help of Java Quartz Jobs, but I need to stop some tasks by some condition in my code. I read that this can be done via InterruptableJob. But i didn't understand in what way i should do it?
![](../../users/profiles/253202.webp)
breedish
- 5,331
- 11
- 36
- 57
21
votes
1 answer
How to insert schedule with date and time in Emacs org-mode
When I insert a schedule with C-c C-s in Emacs org-mode, it always inserts a date like this:
* TODO write product documents
SCHEDULED: <2013-10-25 Fri>
while what I want is this:
* TODO write product documents
SCHEDULED: <2013-10-25 Fri 11:34>…
![](../../users/profiles/701420.webp)
Leo
- 1,418
- 1
- 19
- 27
21
votes
7 answers
How to schedule automatic backups in teamcity?
We are using Teamcity 6.5.6 professional version, which gives me the option to run a backup but I do not see any option to schedule it to a particular time.
I am not sure if this version of teamcity even supports scheduled backups. If it is not…
![](../../users/profiles/219966.webp)
kranthi
- 1,419
- 6
- 29
- 51
19
votes
4 answers
IOS - Creating & Using Interval Specific Timers
I am a newbie IOS developer, but I have a good amount of experience in Android development. My question is regarding the creating and use of interval specific timers.
In android I could easily make a timer like this:
timedTimer = new Timer();
…
![](../../users/profiles/879702.webp)
user879702
- 211
- 1
- 2
- 5