Questions tagged [schedule]

A schedule is the arrangement of events in time.

1847 questions
8
votes
2 answers

Scheduling different notifications on each day Flutter

I am a newbie on Flutter. I am developing an app with notifications where notifications will be shown in different parts of the day. For instance: (3:25 AM, 12:24 PM, 17:22 PM, 19:52 PM, 21:02 PM). These times will differ based on the day. Times…
Jasurbek
  • 2,946
  • 3
  • 20
  • 37
8
votes
1 answer

Run schedule function in new thread

I used the schedule library to schedule a function every X seconds: Want I want is to run this function on separate thread. I found this in the documentation on how to Run the scheduler in a separate thread but I didn't understand what he did. Is…
Amine Harbaoui
  • 1,247
  • 2
  • 17
  • 34
8
votes
2 answers

Laravel schedule fire only once on initialization

When i use php artisan schedule:run command the shuffleQuoteOfTheDay method is evaluated once and then it does not fire it every minute. Kernel@schedule method protected function schedule(Schedule $schedule) { …
Jan Ciołek
  • 1,796
  • 3
  • 17
  • 32
8
votes
2 answers

Can I add context in @Scheduled?

This is my code : @Scheduled(cron = "30 3 * * * *") public void myCron() { //we don't care what we do here } I want to know if it is possible to add a tracking id (or other information) on my @Scheduled automatically. The id will…
ahammani
  • 83
  • 1
  • 5
8
votes
1 answer

Getting Cron Expression from Later.js

We are storing schedules as cron expressions in database. The schedules are modified in a web page and I'm using Later.js for this. Works great to parse the Cron expression. Now I would like to output the modified schedule to a Cron expression that…
Andreas
  • 659
  • 6
  • 17
8
votes
3 answers

Cron expression validator

I would like to have user-defined cron expressions in my program. Are there are validators for cron expressions so that the user cannot insert an invalid cron code? N.B. I think the cron expression on Quartz.Net has a slight different format than…
disasterkid
  • 6,948
  • 25
  • 94
  • 179
8
votes
1 answer

Xcode build automation scheduled integration bot setting

I have checked bot schedule for manually,periodically and poll for new commit(it works in 5 min) all are three option working properly, but I am unable to understand fourth option "On commit using custom trigger script". Please any one can explain…
Jagdev Sendhav
  • 2,875
  • 4
  • 15
  • 24
8
votes
3 answers

The Movie Scheduling _Problem_

Currently I'm reading "The Algorithm Design Manual" by Skiena (well, beginning to read) He asks a problem he calls the "Movie Scheduling Problem": Problem: Movie Scheduling Problem Input: A set I of n intervals on the line. Output: What is the…
David Crowe
  • 83
  • 1
  • 3
8
votes
4 answers

Dynamic parameters for @Schedule method in an EJB 3.x

I'm new to the @Schedule annotations in J2EE6 I want to run a job using EJB 3.x with Glassfish 3.1. The javax.ejb.Schedule seems to be a good choice for us, so we could think of our custom time as something like: @Singleton public class CustomTimer…
javadev
  • 1,639
  • 2
  • 17
  • 35
7
votes
2 answers

Django & Celery: How do I schedule a job to run only once using Celery(similar to "at" command in linux)?

I looked at django-celery tutorial and I think it will really help me running the background tasks without letting the users to wait. However, I have a specific requirement in the program such that when user enters a date, django should be able to…
Shang Wang
  • 24,909
  • 20
  • 73
  • 94
7
votes
3 answers

Have an EJB schedule tasks with "crontab syntax"

I am trying to figure out the possibilities I have to solve the following problem. a) I want to have a database table that uses "crontab syntax" to schedule tasks, the structure would be something like this: |-Id-|---Crontab…
aksamit
  • 2,325
  • 8
  • 28
  • 40
7
votes
4 answers

How to check for new files in a folder in python

I am trying to create a script that will be executed every 10 minutes. Each time I have to check if there are new files in specific folder in my computer and if yes, there are some functions that would run on this file in order to get some values.…
Nadav Kiani
  • 271
  • 2
  • 4
  • 11
7
votes
2 answers

Python - Run Job every first Monday of month

Background: I need to run automatic tasks every first and third monday of the month for a server. This should be realised via python not crontab. I found the python module "schedule" but its documentation is not…
NikolaTesla
  • 161
  • 2
  • 11
7
votes
1 answer

Run a job with (Spring @Scheduled) on specific days

I have a customer check job. I could not find how to automatically set the job time to run on 10am only on Monday, Friday and Saturday. Is there a possible way to set it using Spring @Scheduled?
ahmetcetin
  • 2,621
  • 1
  • 22
  • 38
7
votes
2 answers

Cronjob Homestead not working

I've created a command to send automatic emails. When I do homestead ssh and I run php artisan emails.send an email arrives in my mailtrap.io account. I've added this code to the…
Cquence
  • 81
  • 1
  • 3