1,855 questions
0
votes
0
answers
37
views
My Flutter scheduling app can schedule a day, but then I can't schedule more days. How can I fix this?
I'm making a calendar application where you can schedule days. One agenda works for me, but I can't schedule more. I've tried several things, but I don't see any results. I get the error "Error ...
2
votes
1
answer
61
views
How to add current timeline indicator to jquery.schedule
Demo can be viewed here
https://codepen.io/Yu-Tub/pen/vEEQemo
HTML
<div class="container">
<div style="padding: 0 0 40px;">
<div id="...
0
votes
1
answer
95
views
How to use nestjs schedule
I am using the schedule of nestjs to process the cron so that it works every specific time.
However, even though the cron that was first created for testing has been removed, it continues to go back ...
0
votes
2
answers
130
views
Flutter Schedule Notifications: Notification not showing at the set time
I'm using the flutter_local_notifications plugin to schedule a notification with zonedSchedule. It appears in the pending notifications list, but it never triggers at the specified time. My time zone ...
0
votes
0
answers
49
views
Connection to database in SQLAlchemyJobStore
I am developing a highly loaded TG-bot. One of the functions is a scheduler with sending a message at a specified time. At the moment I have the following problem: I want to make it so that tasks have ...
1
vote
1
answer
464
views
How to schedule a Gitlab merge request to merge at a specific time?
I want to automatically merge an approved merge request in Gitlab at a specific time in the future. For example, kick off an hour-long migration at 8:00 am so it's finishing up when my workday starts, ...
0
votes
0
answers
89
views
Stripe - Multiple payments with multiple credit cards in a single subscription
I have a complex case where we have to create subscriptions with phases for our customers, initially they must pay for a 12 month term and after this period we must start charging a monthly fee. This ...
1
vote
1
answer
37
views
ToneJS scheduled sample playback gradually decreases volume
I'm using ToneJS in a React application to build a drum machine/sampler. I have been able to record the attack and release times for the sample to play back, stored in state in a sampleData object, ...
0
votes
1
answer
47
views
How can I use an external configuration property to define the cron expression in the @Schedule annotation of an EJB?
I have a cron expression in my properties file but the schedule annotation won't take the property like it would in Spring with the Scheduled annotation.
In Spring you can do:
@Scheduled(cron = "$...
1
vote
1
answer
91
views
Is my algorithm for finding the smallest set of overlapping jobs correct?
Recently had a test and got 0 on my solution with a comment that the algorithm is incorrect (not the proof but the algorithm itself).
The counter example they gave is not correct and so I am wondering ...
2
votes
2
answers
95
views
How to Reapply Custom Extender Logic to PrimeFaces p:schedule After update() Call?
I'm using the PrimeFaces p:schedule component in my JSF application with a custom JavaScript extender that adds additional content to each event using the eventContent property in FullCalendar. ...
1
vote
0
answers
80
views
Problem parallelizing nested inter-dependent loops for arrays assignments
I am learning omp and came across nested loops involving arrays assignments etc. with details:
Loop indices are inter-dependent
Arrays a, b, and c have been initialized
I am using Visual Studio 2022 (...
3
votes
2
answers
157
views
Issues when parallelizing for loop to perform array assignments
I am learning omp and came across this issue...
consider following code where:
Arrays a, b, and c are initialized
#pragma omp parallel num_threads(4)
{
#pragma omp for schedule(static, 64)
...
0
votes
1
answer
426
views
how to setup cron jobs in ionos for each minute to run
I have a laravel app hosted on ionos web server.
I have set the route for the schedule to run
Route::get('/run-currency-update', function () {
Log::info('Currency update command triggered');
...
0
votes
1
answer
95
views
To develop scheduling rest client
I am trying to develop scheduling rest client.
The task is:
There is Rest API
I would like to send GET requests on schedule
I created the Spring boot application:
import org.springframework.boot....
0
votes
2
answers
588
views
How to unpause Airflow DAG without triggering
I created a dag factory.
I switch the dags to the unpause state and they immediately start working, despite the set schedule interval value. Tried to override DagModel by specifying is_active=False. ...
0
votes
1
answer
68
views
Schedule Jupyter notebook to run while computer off and save excel file to sharepoint
I have a Jupyter notebook that pulls data for me through an API and then outputs an excel file that I then work off. I run this every day. To access the API, I have stored my credentials locally in a ...
0
votes
0
answers
63
views
How to parse complex patterns for scheduling?
I implement parser for my university schedule (Innopolis University) from google spreadsheets to .ics files. It looks like this:
Header (1st and 2nd rows) is Course and Group. On the left side - ...
0
votes
1
answer
49
views
Why would the run method of a Thread subclass be a class method?
I'm reading through the documentation for the schedule API and in the "Run in the Background" example they define the run method as a class method in their ScheduleThread class. The code is ...
0
votes
1
answer
40
views
NullPointerException when I invoke method from @Schedule of @Startup @Singleton bean
When I try to invoke method of @ViewScoped Bean from @Startup @Singleton bean I always have an error NullPointerException. I use @Schedule annotation method to call @ViewScoped bean method, why it ...
0
votes
1
answer
91
views
No cron event is being executed on my WordPress
I have a problem on my Wordpress, no cron event is being executed on my WordPress. Checking in the WP_Control plugin, I see that no hooks are being executed. What could be the problem? I have tried to ...
-1
votes
3
answers
213
views
How can I create a drop-down list of available employees to fill a shift between a range of dates?
Given a pool of Employees, previously scheduled shifts, and a new unscheduled shift; can I create a drop-down list that only displays the names of Employees who are not scheduled in a range of dates ...
-1
votes
2
answers
112
views
Detached entity passed to persist Error in spring jpa With Scheduler threads
i have getting this exception when i try to save and flush Object From Class A. (spring version 2.7.8)
@Table(name= "table_a")
@Entity
@Data
public class A {
@Id
@GeneratedValue(strategy=...
1
vote
1
answer
52
views
Primefaces Schedule component demo link Broken
Primefaces Schedule component demo link Broken.
Anyone have an idea on what's happening?
Cannot find version 12 in Github
Thanks
0
votes
0
answers
48
views
An interesting scheduling problem: how to serve multi-stage microservices chain that share resources
Recently, I encountered a scheduling problem in a distributed system and I hope to get some help: for a multi-stage microservice that has two stages calling the same instance, such as A-->B-->A, ...
0
votes
0
answers
42
views
How do I transfer the time from the local time zone to a specific one?
I want to execute the function at 08:00 Yerevan time, but by default it will be executed at 08:00 local time, depending on the location of the server. In the future, my server will be moved to ...
0
votes
1
answer
101
views
Flutter scheduled push notifications
I need to schedule PUSH notification from one device to another. I have the code which sends push notification in time, how can I improve it to have scheduled noti?
class PushNotificationService {
...
0
votes
0
answers
272
views
Laravel 10 artisan PHP Startup: Invalid date.timezone value '', using 'UTC' instead
I am using Laravel 10.x and I am running artisan command using Cronjob /opt/alt/php82/usr/bin/php artisan schedule:run >/dev/null 2>&1 every minute as follows:
namespace App\Console;
use ...
0
votes
1
answer
503
views
I would like to Create a (cron) schedule in Databricks that runs a job on Wednesday after the first Monday of a month
I need a Databricks job to run on Wednesday after the first Monday of a month. Or the same: two days after the first Monday.
I found that Cron for the first Wednesday of a month
0 30 6 ? * 4#1
but ...
1
vote
1
answer
177
views
Halide CUDA sample app gives strange run times
I have some familiarity with Halide and am starting to learn to use CUDA with it. To start with I ran the halide cuda_mat_mul that comes with Halide source code.
I got some reasonable if unimpressive ...
1
vote
1
answer
175
views
How to run the aioschedule in multiple threads
import asyncio
import time
import aioschedule
from datetime import datetime
async def work_1():
print('work1', datetime.now())
await asyncio.sleep(30)
async def work_2():
print('...
0
votes
2
answers
209
views
Creating a frequency schedule that updates dynamically based on start date & cadence
I'm looking to create a frequency schedule that highlights when each activity should be performed throughout the year based on the dropdown cadence (daily, monthly, quarterly, semi-annually) and the ...
1
vote
0
answers
339
views
How to optimize apscheduler for parallel processing with ThreadPoolExecutor and ProcessPoolExecutor
I'm using apscheduler to run several robot tasks in parallel, but I'm experiencing inconsistent performance. Initially, tasks process quickly, but they slow down over time. I need to process 5,000 ...
1
vote
1
answer
138
views
Halide scheduling issue for Func used in 2 places
I'm a beginner in Halide and got an error in a ~1000 line Halide program.
I've reduced it to minimal size:
#include "Halide.h"
namespace {
using namespace Halide;
Var x("x"), y(&...
0
votes
1
answer
52
views
CronJob Kubernets(v1.29.4): Automatic Trigger of CronJob after settings change [closed]
I'm currently facing an issue using helm.
I've written a value template that contains a CroneJob, as follows:
...
custom_pipeline:
schedule: "0 21 * * *"
steps:
- name: test-cj
...
0
votes
1
answer
92
views
Daily schedule - 'concatenating' multi-time periods into one block
I am working (in SQL Server 2016) on dental schedules, and by using LEAD (over PARTITION ...
I can produce data of this format:
Chair
Date
StartTime
EndTime
Blocked
Booked
Session
Cent 1
2025-03-03
...
0
votes
1
answer
311
views
Laravel queue worker stopped due to long-running job
I am facing an issue in my laravel (v-8) application. There are 10+ jobs to generate Excel files and send them to different email addresses. Everything works fine, but only one job is taking too long ...
-1
votes
1
answer
625
views
Cron Job / Schedule Command in Laravel
I am trying to make a command run at a specific time, using cronjobs with Laravel, the command I created is as follows:
$schedule->command('test:message')->timezone('Asia/Kolkata')->dailyAt('...
2
votes
1
answer
71
views
Resources Schedule Optimisation
Here is my problem:
There are N tennis players in the bucket
They play matches every week
Each player has its list of possible opponents from the bucket
Each player specifies:
Times when can play ...
1
vote
1
answer
87
views
How to create a custom annotation that do the task of @Schedule annotation in java conditionally
Previously I used @Schedule annotation to execute some methods according to some schedule for example,
@Schedule(minute ="*/5", hour = "*", persistent = false, info = "Every 5 ...
0
votes
2
answers
296
views
Schedule calculation exactly at every 15 mins using Python
I have followed the example which is shown here.
It is working as expected, but with a small problem. If the do_job() method takes more than a minute to finish. It's waiting for another 1 min from end ...
0
votes
2
answers
473
views
Scheduling Informatica IICS taskflow
I have a requirement to run a taskflow like below
every 15 minutes - from 1 AM to 3 AM everyday
every 2 hours - from 3 AM to 1 AM everyday
Could you please help me know, if this can be achieved ...
0
votes
0
answers
38
views
Is there any method to execute whenever scheduled jobs only when i run "rails server" command? [duplicate]
I create a whenever scheduled task + ActiveJob job.
I configure config/initializers/scheduler.rb like this:
Rails.application.config.after_initialize do
ScheduleJobManager.new # 创建定时任务
end
This job ...
0
votes
0
answers
24
views
How do I change String Objects daily in Express/Node.JS?
As title states I have 6 string objects that I would like to update daily at midnight within Node.JS. One is a regular string and the other is an array of strings.
I know this isn't natively supported ...
0
votes
1
answer
234
views
In python's module schedule, how can I print next run time once after job run?
After I run pending jobs with Python's schedule module, I'd like to print once next job scheduled at {next_job_time}.
This code prints the message every second which isn't what I want:
import schedule
...
0
votes
1
answer
251
views
github scheduled cron job not triggering every 5 minutes
name: Scheduled Job
on:
schedule:
- cron: "*/5 * * * *" # Runs every 5 minutes
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
...
1
vote
0
answers
53
views
How can I make a hour picker for each different day
I want to make the seller choose the hours that he/she is available at, but I cannot find a logical way of implementing it for each day. This version is adding the hours to the same list.
...
1
vote
1
answer
761
views
@SchedulerLock integration tests fail
I have added @SchedulerLock to an existing @Scheduled Task. Now my integration tests fail. I have added following dependecies for SchedulerLock:
<dependency>
<groupId>net.javacrumbs....
2
votes
1
answer
100
views
How do I change the color of p:schedule at certain hours in Primefaces?
I've been looking for a way to change the color of the p:schedule element in Primefaces at certain hours, but I just can't find one. For example, in the next image I would want the schedule to be ...
0
votes
0
answers
81
views
Cloud Composer DAG Scheduling based on Big Query Table
I am new to cloud composer and DAG. For one of our projects, we need to run the DAG monthly. But run date is different for each month and each year.
So, we are thinking of updating the run date in a ...