Questions tagged [scheduled-tasks]
A scheduled task is a computer task that is scheduled to happen at a certain time and may repeat.
6,248
questions
0
votes
0answers
8 views
Telegram Bot API - Send daily messages in Python
Good evening,
I'd like to be able to send daily messages in my telegram bot. I tried everything I found on StackOverflow but it is still not working. Here's a minimal example of what I am doing:
if ...
0
votes
0answers
12 views
Spring ThreadPoolTaskScheduler Pool size is not the configured one - TaskRejectedException
I'm using springs ThreadPoolTaskScheduler:
private ThreadPoolTaskScheduler taskScheduler;
public void initialize() {
taskScheduler = new ThreadPoolTaskScheduler();
taskScheduler.setPoolSize(...
0
votes
0answers
4 views
As a big data scheduler system, Is Apache DolphinScheduler developing well? I like visualize drag and drop operations, and I want to use it recently
As title description, Is DolphinScheduler developing well? I saw more than 160+ contributors on the github, and more than 400 companys are using it.
who's using DolphinScheduler
1
vote
0answers
16 views
How to code python script to run run existing task scheduler in Window
please recommend any python package that is pretty much the closest to do this task.
or the previous questions are similar to my question.
Please guide me to use library to run window task scheduler? ...
2
votes
0answers
19 views
RuntimeError: There is no current event loop in thread 'Thread-1' in flask
I want to run a asynchronous event in background with flask and for that i worte a code below But When I run app.py main function is successfully run for the first time by the schedule but in second ...
0
votes
0answers
18 views
Scheduled tasks set to “run task as soon as possible after a scheduled start is missed” don't work?
I'm creating tasks in Windows Server 2016 using PowerShell. I want the tasks to run once. I need the tasks to be bullet proof so that if the server happens to be down at the scheduled run time, it ...
0
votes
1answer
14 views
Recursing Error during Periodic Sched function
I am running some tests for a function I need to write where I have two separate timed functions happening in a variable amount of time for each execution. These functions would have to be nonblocking....
0
votes
0answers
4 views
Run Windows Task without cmd pop-up
I have a task which is launched by the task scheduler.
I don't want that the cmd window appear.
I can't use SYSTEM user account or "Run whether user is logged on or not", is there any way to ...
0
votes
1answer
39 views
Reading and editing a text file from windows cmd prompt
Don't ask me why but i want to hit a certain url when my public ip address changes(I don't have and can't get a fixed ip) so i have created a batch file which opens the url(I have managed to save my ...
-1
votes
0answers
9 views
How to calculate Average Waiting Time and average Turn-around time in ShortestRemaining-Time-First Scheduling?
In SRTF Scheduling method
How to calculate Turnaround Time, Average Response Time and average Waiting
Time ?
-1
votes
0answers
28 views
Run a python script when Windows suspends
I want to run a python script when my Windows computer goes down somehow: screen deactivation or suspend.
I tried using Windows task scheduler tool. I created an activity launching a windows_executor....
-2
votes
1answer
30 views
Schedule a task with powershell? [closed]
How do I schedule a task from Powershell? I want to create a task schedule that starts when I turn on my laptop and then runs every 5 minutes, I also want the task schedule to execute a .bat file.
(...
0
votes
0answers
14 views
AWS Win Tasks aren't running after server restart via Lambda
I have coded a simple task scedule that turns the AWS Windows server off and a simple Lambda code to turn the stopped instaces on, see code:
import time
import json
import boto3
def lambda_handler(...
0
votes
0answers
12 views
How to place the deadlines in “Earliest deadline first scheduling” in this question?
So I followed this tutorial to get the concept of "Earliest deadline first scheduling". I have to implement this task >>> TASK. Now the thing which I am not getting in this Task is ...
0
votes
1answer
29 views
How can I run schedule job with out windows service on server?
I have sent a mail that works locally using asp.net and quartz. It works very well. but it didn't work when I put it on the server. They said that because it is shared hosting, they cannot run it for ...
1
vote
1answer
52 views
Design a simple task scheduler in C++ [closed]
I want implement a simple task scheduler in c++ which will support the following:
Scheduler will have public function: "add_task(time_ms, func)"
(The Scheduler will run the function in X ...
0
votes
0answers
16 views
Am I scheduling the task every month correctly using node-schedule?
I want a task to be executed every month on a specific date as soon as it hits the end point /shcheduleTaskEveryMonth. Suppose 17th of every month at 4:29pm evening I want to run a job/task.
And this ...
0
votes
0answers
28 views
When a CronR schedule fails to complete (due to an error). Is there a way to add a retry function to the script?
When a CronR schedule fails to complete due to an error. Is there a way to add a retry function to the script?
Currently I am using RStudio with the CronR add-in to schedule my script. The problem I ...
0
votes
0answers
25 views
Powershell and Task Scheduler - Trigger script if file directory has not changed since last 30 minutes
I've following code to trigger $powershell_code_to_run when file location is not updated for last 30 mins. However, Script is not triggering Start-Process 'C:\windows\system32\mspaint.exe' or Start-...
0
votes
1answer
20 views
Using codedeploy for Fargate Scheduled tasks
I'm trying to set up a CI/CD pipeline for one of our applications that only consists of scheduled tasks. Can't seem to figure out the suggested CI/CD workflow for these. As far as I can see, all the ...
0
votes
0answers
16 views
How to write springboot job to listen for a result of a search page which is PHP
Sorry guys if it is trivial, but I have no idea how to write a spring boot job that searches in a PHP web page.
So there is a PHP web page, where you can find some search field and a button which will ...
0
votes
0answers
21 views
Scheduled Task loses access to remote share
I have a scheduled task and am seeing a behavior similar to the one described in the thread linked below.
The core idea behind the scheduled task is that a Windows 2012 R2 file server watches a ...
0
votes
1answer
28 views
Local Django server unresponsive when adding function scheduling
I am trying to schedule a function to run everyday using the Schedule
library.
My local Django server however hangs and becomes unresponsive during the system check after saving the schedules to my ...
0
votes
3answers
38 views
@Scheduled running at 16:00
I've created this method in SpringBoot
@Scheduled(cron = "0 16 * * * *")
public void sendMsg() {
}
to be executed At 16:00 pm (noon) every day:
but instead is executed several times ...
0
votes
0answers
11 views
How do I run a function at the start of schedule.run_pending()?
If I have this method:
def do_something():
print("something")
And I want it to run every 30 seconds using the schedule library by writing:
schedule.every(30).seconds.do(do_something)
...
3
votes
0answers
90 views
BigQuery Scheduled query (script) loop: needs destination table to be saved, but run fails because of set destination table
I had a scheduled query that did not have a destination table set, as it is created in the script with the create table command (in my understanding that is called a script in the BQ environment).
I ...
0
votes
0answers
26 views
The best way to run Laravel Queue with “proc_open” disabled?
I'm working on the project in Laravel hosted on a shared hosting, where PHP "proc_open" function is disabled.
I want to run "queue:listen" command, but "proc_open" is ...
1
vote
0answers
21 views
How to write integration tests to check if the cron job runs at the right time and does the right job?
I am building cron-jobs using Quartz Framework in my application. I am looking for any automation framework for the integration tests to test cron jobs.
What I want to achieve is to write a test, ...
0
votes
0answers
13 views
How can I use a scheduled task to send cmd line data to a currently running console window?
I have a PC set aside for hosting a Minecraft server for myself and a few friends. As part of the server's "maintenance" cycle, I have a scheduled task to automatically force close the ...
1
vote
3answers
46 views
Cron Jobs vs Task Scheduler table for scheduled emails
Preamble: I have a web app, the backend is based on the serverless architecture. It's basically an amplify app hosted on AWS with a dynamoDB database. I've learnt is possible to create a task ...
0
votes
0answers
18 views
Python - Execute async function at specific interval of time
I am working on a task like calling an http request to a URL on specific time intervals. To be more precise, it goes as follows:
I have a number of values that represent time in seconds (starting ...
0
votes
2answers
18 views
node-cron tasks terminated after restart the server
The project in which I am working completely dependent on cronjobs functionality like firebase push notification 1 day before the subscription expires. the problem is when I restart the server all ...
1
vote
1answer
48 views
Using fixedDelayString in spring-boot @Scheduled without putting the configuration property directly
Here's my problem. I'm using @Scheduled on top of some methods to do some regular tasks in my spring-boot application.
For configuring the schedule I'm using the fixedDelayString & ...
0
votes
0answers
16 views
Is there any algorithm or AI Model to help Maintenance Planner plans all tasks by weekly basis?
I am facing the problem that I have to plan 7 Days Plan Look Ahead every week because all input tasks are very dynamic and have to be optimized as much as possible due to limited recourses.
Input ...
-1
votes
0answers
12 views
Schedule Action on WordPress
I have a question about the schedule actions on WordPress. I've already set up some cron jobs on my website, but now I am going through hard times. I have a custom plugin on my website that allows me ...
0
votes
0answers
23 views
Timer Task only runs after server restart in Spring Boot
I have written a timer task where the timer scheduler runs only after the server restart, this task has to run after every 5 minute everyday.
Source code
Timer t = new Timer(true);
t....
-1
votes
0answers
29 views
How to best implement play with random palyers on the backend
I have a scenario where one user would like to play game with someone random online.
Here are basic requirements
select one random user
send a request to that user via channel
if user doesnt respond ...
0
votes
0answers
19 views
Djnago Background task not working some times
I am using Django background task.
but the issues is sometimes its not working properly. task is not completing. some times the function is not getting called.
My views.py
def process_tasks():
...
0
votes
0answers
22 views
how to schedule file upload in nodejs
I wanted to upload the file on a scheduled basis(every day at 9 pm) using nodejs. I tried using nodejs fs module. but the problem is it will read files from my system (i.e where server is located). I ...
0
votes
1answer
34 views
ESP8266 Scheduler. Tasks in separate files arduino IDE
I want to create simple weather station with esp8266 but with scheduler to updating data and GUI more simultaneously. I've downloaded scheduler from here but there is information:
Tasks must be ...
0
votes
0answers
49 views
Automatic shutdown of Windows 10 computer from bash script
I have a problem with my power failure monitoring scheme / automatic shutdown of Windows 10 computer.
On my network I have a Linux box that has a UPS unit connected via USB and maintained with ...
0
votes
2answers
80 views
Python 3.9 - Scheduling periodic calls of async function with different parameters
How to in python 3.9 implement the functionality of calling the async functions with different parameters, by scheduled periods? The functionality should be working on any OS (Linux, Windows, Mac)
I ...
1
vote
1answer
65 views
I dont understand python threading
I try to run this code, where two threads shall be initialized based on scheduled tasks. I just want to have the deamons in parallel which shall print out an unspecific global value after a certain ...
0
votes
1answer
14 views
crontab: same script is triggered only on one day
I'm not a linux expert and need some support to a crontab mystery (for me).
I'd like to do a backup of my raspberry pi twice a week.
It's the same script. But only the every monday trigger (dow=1) ...
0
votes
2answers
118 views
How to make delphi VCL application run from the command line
I've got a VCL application in Delphi 10.2.
User should choose a few settings and then press the "Run" button.
Now I want this app to run automatically once a day (using Task Scheduler in ...
1
vote
0answers
35 views
How to implement a notification queue for push notificatoins in backend?
Let's say I have users who create events of different time periods(max: 7days), and I have to send notifications to users when their event has ended. In between the time of each event, a user can ...
1
vote
2answers
58 views
Auto complete processing Orders after x minutes or hours in WooCommerce
based on Automatically cancel order after X days if no payment in WooCommerce answer code, I have make some changes trying to autocomplete paid orders after x Minutes (or x hours):
add_action( '...
1
vote
2answers
35 views
powershell query windows task scheduler for tasks that will run between specific datetimes
I've inherited a server that runs windows scheduled tasks for several hundred various processes (mostly it kicks off custom PowerShell scripts) - the schedules for these tasks can be as frequently as ...
1
vote
2answers
56 views
Gitlab CI\CD schedule pipline Interval
I created a .gitlab-ci.yml file in my Git project and I would like it to run every 5 minutes.
I created a new schedule in gitlab.com ( CI/ CD -> schedules -> new schedule) and used custom ...
-1
votes
0answers
10 views
Create a Windows Task Scheduler on a File Save or Update
I want to create a windows task scheduler that will run a python script when a file in a specific folder is updated (saved over). I am hoping that once the file is updated via a SAP download, the ...