Questions tagged [schedule]

A schedule is the arrangement of events in time.

1847 questions
6
votes
5 answers

Implementing a Release Schedule

The company I work for is trying to implement a release schedule and I want to get some constructive feedback from people that work in better structured environments than I am in. We have one product that is finished and being used by several…
DarLom
  • 1,100
  • 2
  • 12
  • 30
6
votes
2 answers

how to cancel a timer's existing schedule

Currently I am using a timer to execute some function every interval time. However, later on when I want to change the interval of executing the function, I cannot cancel the previous schedule. how this can be solved? Thanks
user301
  • 91
  • 1
  • 2
  • 7
6
votes
3 answers

SQLite statement to query for Recurring Calendar Events

I am designing a Calendar Application, which recurrence None, Daily, Weekly, Monthly & Yearly. One of my requirements is that "No two events should be overlapping" Name of the Table where I store the data Events fields dtstart - Event…
Faheem Kalsekar
  • 1,420
  • 3
  • 25
  • 31
6
votes
1 answer

Property 'schedule' does not exist on type 'typeof import().ts'

I am just a new learner and following a video tutorial, my code looks like this: import { Injectable } from '@angular/core'; import { Dish } from '../shared/dish'; import { DishService } from '../services/dish.service'; import { Observable } from…
Hasani
  • 3,543
  • 14
  • 65
  • 125
6
votes
2 answers

How to constantly run Google Colaboratory at a specific time every day?

I recently have built a Python program that runs on Google Colaboratory that retrieves the data from a site. Since I wanted to create a graph based on data of one month, I want to retrieve the data every day. Is there any way to run this on Google…
Bearfinn
  • 165
  • 1
  • 1
  • 8
6
votes
5 answers

Python scheduling a job starting every weekday and running every hour

I currently have a sample code defined as: import schedule import time def job(t): print ("I'm working...", t) return schedule.every().day.at("01:00").do(job,'It is 01:00') while True: schedule.run_pending() time.sleep(60) # wait…
Zanam
  • 4,607
  • 13
  • 67
  • 143
6
votes
4 answers

Is it possible to make a schedule that Postman executes request?

I am using Postman to run a Runner on some specific requests. Is it possible to create a schedule to execute (meaning every day on specific hour)?
kostas
  • 779
  • 4
  • 13
  • 20
6
votes
1 answer

FireBase Job Dispatcher. job starts after 20-60 sec, even with Triger.Now. How can i fix it?

Job job = dispatcher.newJobBuilder() .setTag("JOB_TAG") .setService(MyService.class) .setTrigger(Trigger.NOW) .setReplaceCurrent(false) .setRetryStrategy(RetryStrategy.DEFAULT_EXPONENTIAL) …
6
votes
3 answers

How do you schedule execution of a Windows Workflow?

I'd like to move my scheduled tasks into workflows so I can better monitor their execution. Currently I'm using a Window's scheduled task to call a web service that starts the process. Is there a facility that you use to schedule execution of a…
James White
  • 2,062
  • 2
  • 24
  • 36
6
votes
5 answers

Run java function every hour

I want to run a function every hour, to email users a hourly screenshot of their progress. I code set up to do so in a function called sendScreenshot() How can I run this timer in the background to call the function sendScreenshot() every hour,…
Jannik
  • 401
  • 1
  • 5
  • 17
6
votes
2 answers

Scheduling java process for a specific time interval with a given delay

We want to schedule a java process to run till a specific time interval. Currently I am thinking to using TimerTask to schedule this process. In the start of every loop, will check the current time and then compare with the given time and stop the…
Anupam
  • 231
  • 3
  • 14
6
votes
1 answer

Spring TaskScheduler Bean not injected

I need to schedule a job when the a session is created. So I created my HttpSessionListener : @Component public class WebSessionListener implements HttpSessionListener { //@Autowired @Qualifier(value = "taskScheduler") private…
Yanis26
  • 247
  • 2
  • 13
6
votes
2 answers

How to find first free start times from reservations in Postgres

People work from 10:00AM to 21:00PM except Sundays and public holidays. Jobs for them are reserved at 15 minute intervals. Job duration is from 15 minutes to 4 hours. Whole job must fit to single day. How to find first nearest free start times which…
Andrus
  • 26,339
  • 60
  • 204
  • 378
6
votes
1 answer

Linux Kernel Changing Default CPU Scheduler

I am trying to hack the Linux kernel and I am wondering. How can I change the default Linux Process scheduler with another one? And can I just set every processes as a real time process?
Güngör Basa
  • 628
  • 2
  • 9
  • 27
6
votes
3 answers

Double round robin tournament

I am developing a sport torunament in Java based on round robin scheduling algorithm. For n teams I want to generate 2(n-1) rounds with n/2 matches. That is that every team must play a match in a round, and every 2 teams meet twice, once away and…
Alina Gabriela
  • 121
  • 1
  • 11