Questions tagged [schedule]

A schedule is the arrangement of events in time.

1847 questions
6
votes
9 answers

Trigger a Python function exactly on the minute

I have a function that I want to trigger at every turn of the minute — at 00 seconds. It fires off a packet over the air to a dumb display that will be mounted on the wall. I know I can brute force it with a while loop but that seems a bit harsh. I…
user2929831
  • 73
  • 1
  • 1
  • 5
6
votes
0 answers

Gantt chart with D3

I've been working on a D3 Gantt chart; it has a brush view, column labels for the tree grid view (I need this for my application), and tooltip. The chart allows you to expand and shrink nodes using the tree view, by clicking on the node in the tree…
d3monster
  • 121
  • 1
  • 2
  • 6
6
votes
2 answers

EJB-3.1 @Startup & @Schedule anotation in Apache Tomee for Timer Execution

I have following code to run on Apache-tomee, i am using eclipse for coding, and i want to run my simple schedule job using @Schedule annotation at application start-up. @Startup @Singleton public class ScheduleEJB { private static int count =…
rykhan
  • 309
  • 4
  • 15
6
votes
5 answers

Now and Next TV Programme Information SQL Query

My table is a list of Scheduled TV Programmes for multiple days and channels. SELECT * FROM [Scheduled_Programmes] Channel Date Time Title 1 2012-09-19 06:00 Family Guy 2 2012-09-19 06:01 CSI Miami 3 …
pugu
  • 677
  • 1
  • 7
  • 16
5
votes
2 answers

Disabling all schedules in Glassfish 3.1

How can I disable all schedulers (@Schedule annotated) in a project deploing on Glassfish 3.1 Maybe there are some config entries to do this? I have about 20 EJBs with schedulers in my project and if I want to test/fix a small thing I don't want…
alexblum
  • 2,198
  • 16
  • 13
5
votes
2 answers

Python FASTAPI shedule task

I want to write a task that will only run once a day at 3:30 p.m. with Python FASTAPI. How can I do it? I tried this but it works all the time. schedule.every().day.at("15:30:00").do(job2) while True: schedule.run_all()
Arzu Yıldız
  • 61
  • 1
  • 1
  • 3
5
votes
2 answers

Cron job for everyday at 5pm

I want to run a cron job at 17:00 everyday. Which one is the correct format? 0 17 * * * or 0 */17 * * * or are they both same? Please do tell the difference.
N.A
  • 187
  • 1
  • 1
  • 5
5
votes
1 answer

What is "Subject to frequency limit" tag in Firebase cloud messaging

What is "Subject to frequency limit" tag in Firebase Cloud Messaging? When I try to schedule the message there is on tag called "Subject to frequency limit", which further has two option Subject to frequency limit Custom Once per user for this…
ASR
  • 311
  • 2
  • 14
5
votes
2 answers

Can't schedule refresh in PowerBI Service

I have a PowerBI report with 2 tables sourced from separate web API calls to a similar service, let's call it MyService. The service returns json. The report refreshes perfectly within PBI Desktop. The report publishes to PowerBI.com where it…
cymorg
  • 534
  • 2
  • 10
  • 27
5
votes
2 answers

How to schedule a chain task in celery

I want to run a complex task scheduled by beat. Let us assume the default add/mul tasks are defined. @app.on_after_configure.connect def setup_periodic_tasks(sender, **kwargs): sender.add_periodic_task( crontab(), add.s(2,3) |…
Serge3
  • 53
  • 1
  • 5
5
votes
2 answers

Local notification flutter

can anyone show me with code that how can I schedule the notification in flutter using local notification plugin. Tried the example in git repository buy it doesn't work for me, although a normal notification is working but how can i schedule it…
Sarthak Solanki
  • 468
  • 1
  • 6
  • 18
5
votes
2 answers

WorkManger in Android is executing doWork() more than once

I am using WorkManager to schedule some tasks but the problem is that work manager is executing those tasks { doWork() } more than once in a single call. I am using: 'android.arch.work:work-runtime:1.0.0-alpha08' I have tried using…
Simran Marok
  • 707
  • 1
  • 5
  • 9
5
votes
2 answers

angular2 Implementing FullCalendar-Scheduler with PrimeNG-Scheduler

FullCalendar has an add-on called Scheduler which I am trying to use with PrimeNG-Schedule component. Looking at the PrimeNG docs, there is an 'options' property that I can use to send arbitrary information to FullCalendar. This does work but when I…
Harinder
  • 333
  • 2
  • 3
  • 23
5
votes
1 answer

How to schedule a python script on Heroku

I am deploying a script (a Scrapy python one) on Heroku, and I want it to be launched 4 times in the morning. I can definitely run it by connecting to my Heroku account (I have a free plan) and typing this on the windows command line: heroku run…
Bergenist
  • 69
  • 1
  • 7
5
votes
1 answer

How to start/stop a Python function within a time period (ex. from 10 am to 12:30pm)?

I am trying to create a function (e.g. def startTime()) that executes another function like def runFunc() that starts every day on execution with python script at 10 am and stops automatically (or script ends) at 12:30 pm. Example:…