scheduled-tasks Questions
9
Solved
I have several methods annotated with @Scheduled(fixedDelay=10000).
In the application context, I have this annotation-driven setup:
<task:annotation-driven />
The problem is, sometimes s...
Cureall asked 24/2, 2014 at 16:34
2
First of all please don't consider this question as a duplicate of this question
I have a setup an environment which uses celery and redis as broker and result_backend. My question is how can I m...
Chalmer asked 18/1, 2013 at 17:40
4
Solved
All I have found about the Windows Task Scheduler results are short details about just a few codes.
Does anybody knows about a complete list?
For example, I have not been able to locate anything ab...
Cotenant asked 19/3, 2014 at 1:14
3
Solved
I am using HangFire to schedule jobs but when I deployed to PROD, the website/hangfire url is not working. I am getting The system cannot find the file specified error.
On localhost, I am able to...
Southport asked 4/1, 2017 at 22:55
8
Solved
Currently I have this :
@Scheduled(fixedRate=5000)
public void getSchedule(){
System.out.println("in scheduled job");
}
I could change this to use a reference to a property
@Scheduled(f...
Mylesmylitta asked 31/1, 2013 at 16:29
5
Solved
I am trying to create a while loop which will iterate between 2 time objects, while datetime.datetime.now().time() <= datetime.datetime.now() +relativedelta(hour=1): but on every n minutes or se...
Nobility asked 27/2, 2022 at 14:46
1
Currently I'm using an Executors.newSingleThreadScheduledExecutor() to schedule a task periodically. The ScheduledExecutorService provides two options for this, namely:
ScheduledExecutorService#sc...
Soraya asked 1/4, 2022 at 19:37
4
Solved
I have airflow set up and running with some DAGs scheduled for once a day "0 0 * * *".
I want to check when is the next time a specific dag has been scheduled to run, but I can't see where I can d...
Katiekatina asked 7/9, 2018 at 2:50
5
I'm trying to follow the Laravel Documentation on how to Run Cron Jobs,
and I want to add this
* * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1
But I don't know how t...
Rivulet asked 2/2, 2016 at 10:46
3
Solved
I am working with rails and have the bunch of schedule tasks running on sidekiq, and anyway I want to delete all of that tasks from schedule list. I was wonder whether is there any command with rai...
Ay asked 7/10, 2016 at 8:38
7
Solved
I have written a PHP script which generates an SQL file containing all tables in my database.
What I want to do is execute this script daily or every n days. I have read about cron jobs but I am us...
Albina asked 4/5, 2010 at 9:6
2
I am creating an application in javascript which send notification on every sunday 12.00 am.
What should I do to call a function on that time.
Burrows asked 9/5, 2012 at 12:49
2
Solved
In the task scheduler GUI it is easy to Enable All Tasks History
See also https://mcmap.net/q/117328/-how-can-i-enable-the-windows-server-task-scheduler-history-recording
How can I Enable All ...
Zielsdorf asked 22/4, 2014 at 18:56
2
I'm trying to schedule a task that should run every 10 seconds. However this task should have a dynamical allowed period execution time. In other words, if the max allowed time is 5 seconds and if ...
Dena asked 5/2, 2022 at 13:14
10
Solved
Using Windows Server 2008, how do I go about capturing the output of a script that is being ran with the windows task scheduler?
I'm testing a rather long custom printing batch-script, and for deb...
Antemortem asked 28/12, 2011 at 22:29
2
Solved
I'm new to Django and web frameworks in general. I have an app that is all set up and works perfectly fine on my localhost.
The program uses Twitter's API to gather a bunch of tweets and displays t...
Genitor asked 22/6, 2020 at 23:58
5
I'm stumped. I know this question has already been answered a hundred times but nothing I've tried works.
My question: I made an Android widget that needs to refresh precisely at each minute, much...
Hydrotherapy asked 30/7, 2016 at 20:34
2
Solved
I'm investigating using @Scheduled at a fixed rate where in some configurable circumstances the scheduled job should never be run.
The documentation doesn't mention this but the default values for...
Fridafriday asked 5/10, 2015 at 10:33
5
Solved
When I run CodedUI Test from a small Console tool via vstest.console.exe from a scheduled task I sometimes see this error message on different PCs:
error : Could not load file or assembly 'file:...
Itu asked 21/12, 2015 at 16:46
5
Solved
function ServiceRestart
{
Param
(
$ErrorLog,
$Services,
$MaxSize
)
$Time = Get-Date -Format 'yyyy:MM:dd HH:mm:ss'
$Result = (Get-Item $ErrorLog).length
if($Result -gt $MaxSize)
{
Cl...
Mcdermott asked 16/6, 2017 at 16:42
2
Solved
I'm trying to run multiple scheduled tasks at the same time on spring boot, but in practice they run queuing (one after the other, not parallel)
This is my simple service:
import org.springframew...
Dorina asked 6/7, 2017 at 8:49
3
Solved
We're trying to configure periodic jobs in Postgresql.
To do this, we have installed on linux machine, with postgres 9.6 running, the
citusdata pg_cron project.
System information
OS: Linux pg 4...
Coycoyle asked 14/6, 2017 at 14:27
2
Solved
What is the difference when I put crontab entry in crontab -e (the default location is : /var/spool/cron/username ) and in /etc/crontab? I mean crond daemon will essentially execute both cron jobs....
Puncture asked 5/3, 2014 at 16:14
4
Before anyone says this is a duplicate, I already checked here, here, here, here, and a couple of other resources, including MS Task Scheduler Class documentation.
I wanted to be able to list the ...
Clot asked 28/12, 2016 at 16:25
8
Solved
What's the main difference between scheduleAtFixedRate and scheduleWithFixedDelay methods of ScheduledExecutorService?
scheduler.scheduleAtFixedRate(new Runnable() {
@Override
public void run() ...
Togo asked 9/7, 2014 at 9:22
© 2022 - 2024 — McMap. All rights reserved.