scheduled-tasks Questions

15

Solved

I want to write a batch file that performs the following operations: Check if a service is running If is it running, quit the batch If it is not running, start the service The code sampl...
Isabelleisac asked 24/7, 2010 at 12:28

5

Solved

I have following annotation in my code @Scheduled(fixedDelayString = "${app.delay}") At this case I have to have properties like this app.delay=10000 #10 sec Propery file looks unreadable bec...
Bolero asked 17/1, 2020 at 11:56

3

Solved

I have Win XP os and XAMPP installed in my machine. I need to run my event at 00:00:00(Midnight) of the 1st day of every month. Means 1st of every month. (e.g. jan 1st, Feb1 1st, March 1st, ... ). ...
Hagiographer asked 19/4, 2011 at 5:47

5

I have a script that i run every day and want to make a schedule for it, i have already tried a batch file with: start C:\Users\name\Miniconda3\python.exe C:\script.py And im able to run some ba...
Stage asked 27/9, 2017 at 0:54

2

Solved

I want to have a cron job that executes every 00:10 am according to online validators this is the correct expression "0 0/10 0/00 ? * * *" but it has '?' and spring rejects this. how can ...
Browder asked 15/4, 2021 at 16:9

2

Is there a reliable way of executing a Google Colab notebook at a specific schedule ? This recurring schedule should not require me to open my laptop to execute or trigger it in any way. I also hav...

4

Solved

I am using Celery to perform asynchronous background tasks, with Redis as the backend. I'm interested in the behaviour of a Celery worker in the following situation: I am running a worker as a dae...
Salty asked 24/1, 2013 at 11:41

3

Solved

My use case is as follows: I need to be able to schedule SQS messages in such a way that scheduled messages can be added to a queue on a specific date/time, and also on a recurring basis as needed....
Formwork asked 11/9, 2017 at 19:55

10

I am implementing scheduled tasks using Spring, and I see there are two types of config options for time that schedule work again from the last call. What is the difference between these two types?...
Mormon asked 9/8, 2016 at 5:9

4

Solved

I have a couple of tasks scheduled within Spring's task scheduler: <task:scheduled-tasks> <task:scheduled ref="task1" method="run" cron="0 0 */0 * * *" /> <task:scheduled ref="ta...
Cattier asked 29/7, 2014 at 14:20

5

Solved

I was trying to run my application on my Android device using Android Studio, it runs fine otherwise but in this case some data was being deleted from my mobile phone and while that process wasn't ...
Cornish asked 4/9, 2018 at 13:20

4

Solved

I have a Spring-Boot application with a bean running a scheduled task at about 1 minute intervals, and this bean has a @PreDestroy method. Is there a solution for allowing a task which is current...
Burnie asked 27/4, 2017 at 17:23

16

I have a scheduled task on a Windows 2008 R2 server. The task includes a Start In directory entry. The task runs, and the batch file it runs does what it is supposed to do. When I run the batch fil...
Blacktail asked 22/8, 2013 at 2:5

12

Solved

I have some Python code in a Jupyter notebook and I need to run it automatically every day, so I would like to know if there is a way to set this up. I really appreciate any advice on this.
Hiroko asked 12/2, 2018 at 15:36

4

And also tell me about "Run whether user is logged on or not" in detail. to avoid future hurdles to run the created task(details about username and password)
Barbirolli asked 16/8, 2012 at 7:21

9

Solved

We have a new server running and we got some new programs doing import routines. So far so good... But there is one program that is put into autostart folder. So it doesn't run until admin logs in ...
Cervelat asked 6/8, 2015 at 14:2

21

I have a batch file with the code below to stop and start the SQL Report service: net stop "SQL Server Reporting Services (MSSQLSERVER)" timeout /t 10 net start "SQL Server Report...
Answer asked 11/10, 2013 at 12:45

6

Solved

Is it possible to schedule Spring service method only once at exactly specified time? For example, current time is 2pm but when I hit the action button I want that my service method starts at 8pm. ...
Weisler asked 20/5, 2015 at 10:39

4

Solved

Nowadays most devices allow for an automatic toggle of Dark/Light mode, however Windows 10 doesn't seem to have such a feature. Is there a way to accomplish this? Using the Task Scheduler for examp...

1

Auto Shutdown if user is inactive. I am trying to create a one time powershell script to shut down the pc if the user is inactive for a period of time. I have done some looking around but the only ...

18

Solved

I have a batch file daily.bat, this is the code: cd C:\inetpub\wwwroot\infoweb\factuur\cron c:\PHP\php.exe -f ./cron_pdf.php ftp -s:ftp_upload.txt ftp.site.be And I created a task with task sche...
Kirkuk asked 14/12, 2010 at 9:36

4

I have a scheduler, which triggers at a fixed delay of 5secs. I am planning to have more than one schedulers, but for now, let's stick to just one scheduler. Requirement: Based on business conditio...
Warfore asked 25/5, 2019 at 5:31

8

Solved

I have been using the Powershell Scheduled Task Cmdlets to create a scheduled task on our servers. How do I elect to 'Run whether a user is logged in or not using this API? I've created action, tri...

14

Solved

I'm trying to schedule a repeating event to run every minute in Python 3. I've seen class sched.scheduler but I'm wondering if there's another way to do it. I've heard mentions I could use multipl...
Gavrilla asked 8/3, 2010 at 0:35

10

Solved

In the process of deploying our .net app, I've got about 20 scheduled tasks set up on a server, all of which basically do the same thing: invoke a small .net console app that pulls data from a SQL ...
Cosset asked 14/5, 2009 at 20:44

© 2022 - 2024 — McMap. All rights reserved.