scheduled-tasks Questions

13

Solved

I need to schedule a task to run in at fixed interval of time. How can I do this with support of long intervals (for example on each 8 hours)? I'm currently using java.util.Timer.scheduleAtFixedRa...
Lyso asked 18/10, 2011 at 21:38

7

I have a number of different sheduled tasks that are set to run some executable files written in VB.Net. When they go to run they almost always get an error saying that the task failed to start and...
Dodwell asked 8/8, 2012 at 13:15

3

Solved

I have a python script that populates Postgres database in AWS. I am able to run it manually and it is loading data into database without any issues. I want to run it once for every 5 minutes insi...
Ox asked 11/3, 2019 at 6:36

12

Solved

I have created a simple scheduled task using Spring Framework's @Scheduled annotation. @Scheduled(fixedRate = 2000) public void doSomething() {} Now I want to stop this task, when no longer ne...
Doorsill asked 20/6, 2017 at 4:59

5

Solved

My Powershell (2.0) script has the following code snippet: $fileName = "c:\reports\1.xlsx" $xl = new-object -comobject excel.application $xlFormat = [Microsoft.Office.Interop.excel.XlFileFormat]::...
Kiser asked 26/3, 2014 at 18:46

4

Solved

When using the code below the sound plays: import IPython.display as ipd import numpy sr = 22050 # sample rate T = 0.5 # seconds t = numpy.linspace(0, T, int(T*sr), endpoint=False) # time variabl...
Sakmar asked 3/5, 2020 at 11:48

2

Solved

I want a specific task to run everyday (every 24 hours). I used a scheduled executor service but after I tested it with 20 seconds to see if the task would run, it didn't. Am I doing something wron...
Spaceband asked 18/1, 2015 at 5:4

9

Solved

I've created a Kubernetes Scheduled Job, which runs twice a day according to its schedule. However, I would like to trigger it manually for testing purposes. How can I do this?
Ballocks asked 3/11, 2016 at 12:42

26

Solved

I've been working on a web app using Django, and I'm curious if there is a way to schedule a job to run periodically. Basically I just want to run through the database and make some calculations/...
Therrien asked 21/2, 2009 at 19:39

3

Solved

I undestand that you can create hourly tasks on Laravel by using: $schedule->command('catalog:update')->hourly(); however is there a way to do for example every 2 hours or 5 hours? I could...
Bloodmobile asked 15/3, 2017 at 2:14

2

Solved

I'm trying to create a task which will repeat every 5 minutes indefinitely through powershell. However, I cannot figure out a way to do this through all my searching. New-TimeSpan -Days 9999 appear...
Dhahran asked 29/4, 2015 at 20:28

3

Solved

I am using Python 2.7 and Selenium 2.39.0. to test a web application. When I run my test as a Windows (7 Ent.) scheduled task with the option "Run whether user is logged on or not", it lo...
Liquidambar asked 10/10, 2014 at 12:53

1

Solved

Recently I read something about this and the point was that celery is more productive. Now, I can't find detailed information about the difference between these two and what should be the best way ...
Sellars asked 20/11, 2022 at 14:2

5

I have lots of scheduled tasks in my Spring Boot (ver 1.4.2) application and would like to catch all exceptions from them using one handler like is possible for normal controllers with @ExceptionHa...
Aspergillus asked 8/12, 2016 at 14:13

2

We are developing a serverless application on AWS. Currently, we have a use case in which we want a user to be able to create configurations for schedules to send them daily, weekly or monthly repo...

5

I am working with Windows 7 and I have an application that returns zero (0x0) when successful and one (0x1) on error situations. I have scheduled this app using Windows Task Scheduler. I have che...
Luettaluevano asked 26/8, 2009 at 15:25

5

I have a class with the following function: public class classA{ ... ... void function_to_be_scheduled(String param){ ... ... } } I want to schedule the function using the scheduled-tasks e...
Sideling asked 1/4, 2015 at 10:33

7

Solved

I want to make a sh script that will only run at most once at any point. Say, if I exec the script then I go to exec the script again, how do I make it so that if the first exec of the script is ...
Rotate asked 26/6, 2011 at 7:0

2

I am trying to make Task Schedule Task so it is completely invisible that a PowerShell script is running so I created a Task on my Win10 machine configured as follows: Program/Script: powershell...
Okoka asked 22/6, 2018 at 15:12

7

What I'm trying to do is to update my database after a period of time. So I'm using java scheduler and connection pooling. I don't know why but my code only working once. It will print: init succe...
Prominence asked 31/8, 2012 at 10:10

1

I have a scheduled task in my web-app developed using spring boot. I run it on a tomcat cluster, so at hour X the scheduled task start from every node. I read about: https://github.com/lukas-kreca...
Punctate asked 11/4, 2018 at 11:7

14

Solved

Before I ask, Cron Jobs and Task Scheduler will be my last options, this script will be used across Windows and Linux and I'd prefer to have a coded out method of doing this than leaving this to th...
Morisco asked 28/3, 2014 at 14:5

2

Solved

Is it possible to schedule a function to execute at every xx millisecs in python,without blocking other events/without using delays/without using sleep ? What is the best way to repeatedly execute...
Excellent asked 28/11, 2014 at 14:29

20

Solved

Ok so I have a cron that I need to run every 30 seconds. Here is what I have: */30 * * * * /bin/bash -l -c 'cd /srv/last_song/releases/20120308133159 && script/rails runner -e production ...
Lap asked 8/3, 2012 at 14:40

8

Solved

I am running a small executable created by a third party that needs to run at regular intervals on a Windows 2008 server. This executable effectively ETLs information from one system to another and...
Unsnap asked 4/8, 2011 at 10:7

© 2022 - 2024 — McMap. All rights reserved.