Questions tagged [scheduled-tasks]
A scheduled task is a computer task that is scheduled to happen at a certain time and may repeat.
7,222
questions
0
votes
0
answers
12
views
'Check Microsoft Windows Scheduled Tasks' Nagios Plugin
I have installed this plugin(https://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/NRPE/Check-Microsoft-Windows-Scheduled-Tasks/details) for monitoring my Scheduled Tasks. This ...
0
votes
1
answer
21
views
Simple python exe app doest not wrtite text to selected file whenever is stared by Task scheduller
This is my simple code:
f = open("mytext.txt", "a")
f.write("Now the file has more content!")
f.close()
When I start it by Task Scheduller, I don´t see any error, but ...
0
votes
1
answer
28
views
How to schedule multiple jobs from multiple properties files in Java Spring?
I have a folder with multiple properties files each file corresponding to a data type, like
example1.properties
example2.properties
example3.properties
I would like to iterate over this folder and ...
0
votes
1
answer
26
views
Discord.py Cogs/Tasks API: Why Do I have to manually start tasks after starting them in my __init__ function?
I've been stuck trying to get scheduled tasks for a discord bot I want to build up and running. Incase my scheduling was causing issues I decided to just do the timed task because has less outside ...
-1
votes
2
answers
20
views
React Javascript Scheduling send emails only via client-side
I am interested in building a website using react, and I want to allow users to choose whether to receive daily or weekly email notifications.
I don't know how to set up server side, only client side.
...
0
votes
0
answers
21
views
why is the scheduler run in two time in scheduled time
In my spring boot application, I have written a scheduler to sync some details at the scheduled time.
I have deployed my spring boot application in a Linux server with the Tomcat server. My Linux
...
-1
votes
0
answers
13
views
GitHub: Managing and tracking multiple projects, tasks, and collaborative planning
I have a group of individuals, each with their own life tasks and projects, such as finding a new home, handling paperwork, locating a school for a child, and filing tax returns. These projects are ...
0
votes
1
answer
22
views
Register Scheduled Task throwing Register-ScheduledTask : The parameter is incorrect error
I modified the function to create the task taking out some unnecessary actions. Now when I try to run it I get the error below. I have tried following a couple different parameter schemes. But I can't ...
1
vote
1
answer
79
views
Java permanently running Task to check time
I have written a task that runs as Scheduled (every Second). I need this scheduled method to monitor the lifetime of a bearer token.
I'm new to Java and wondering if there isn't a better, more elegant ...
0
votes
1
answer
56
views
I would like to transform an Excel calculation into a Python program with the same results
A represents tasks that need to be processed on each machine. A total of 5 tasks are given T0 to T4.
B are the Setup values required to prepare a machine for processing a task that has been added ...
0
votes
0
answers
16
views
how to update a schedule in the next request in quartz
I am trying to using quartz in my program. I need to update the schedule of the job.
After I read the sample code by Google and read docs 2-2-1_Quartz_Scheduler_Example_Programs_and_Sample_Code.pdf.
I ...
0
votes
0
answers
23
views
Schedule Task created using DSC, not able assign USERS group for running the task
TaskName = 'EXCEL-Auto'
TaskPath = '\CustomTasks'
ActionExecutable = 'C:\Program Files\Microsoft
Office\root\VFS\...
1
vote
2
answers
48
views
tracert.exe not redirecting from inside schtasks
So if 'tracert google.com >>tracelog.txt' works from a command line, what do I have to do to get it to redirect to a file from inside a batch script, considering it's being called by schtasks....
0
votes
0
answers
13
views
How do I test my Firebase V2 Scheduled Functions written in Python using Firebase Shell?
I created a simple scheduled function to test the shell.
@scheduler_fn.on_schedule(schedule='1 * * * *')
def logSomething(event: scheduler_fn.ScheduledEvent) -> None:
print("Reached&...
0
votes
1
answer
20
views
How to add another action when creating scheduled task in Powershell
There is a main.ps1 file that is uploaded to devices so it can create all the necessary tasks they need to run when distributed. Within this main.ps1 file I have added code to create a new task, but ...
0
votes
1
answer
22
views
How can I ensure a cron task is executed only once in NestJS?
I'm using NestJS.
I have a cron task that needs to run every 10 seconds. However, I need to ensure that the second task doesn't start if the first task is still running. In other words, the task ...
0
votes
0
answers
31
views
Skip Laravel scheduled job based on configuration which can be changed via an API call
I have a scheduled job in a Laravel API which runs every hour. I want to control the execution of the job based on some configuration which can be changed via an API call.
I found following snippet in ...
0
votes
0
answers
16
views
Building task scheduling environment for training DQN agent
description:
I have a dataset which includes task requirements, nodes specifications, and resources usage. I need to use this data to train DQN agent to get optimal task scheduling. How can I build ...
0
votes
1
answer
25
views
Powershell to export all user defined task from Task Sheduler
I am trying to export all the user defined task from Task Scheduler (and not system defined task). I am able to export all the data including system defined task using below command in PowerShell. ...
0
votes
0
answers
25
views
Closing PowerQuery error message with PowerShell
Sorry for the vague title, I'm really struggling in figuring out what's the correct approach here.
I'm running Excel VBA automation through Windows 10 Task scheduler + VBScript. Several workbooks are ...
0
votes
1
answer
21
views
Excel spreadsheets not opening in a scheduled task
I have an app that I wrote to scrape data from Excel spreadsheets and write the data to database tables. This app runs fine when I run it manually. I have set up a task through Task Scheduler to run ...
0
votes
0
answers
21
views
Node js scheduled tasks are not executed after i restart the server
I'm using the node-schedule library to schedule tasks in my Node.js application. The tasks are scheduled to run at specific times, but I've noticed that they work fine as long as the server remains ...
0
votes
0
answers
56
views
Cron Job runs multiple times in Laravel - Production Server
I have a project in Laravel 8 as the backend deployed on EC2 with ubuntu. I have scheduled few functions as cron jobs at specific time. But, the same cron job seems to run multiple times. So i put a ...
1
vote
1
answer
29
views
Celery Periodic Tasks with Dynamic Arguments
I want to schedule a Celery task that can accept dynamic arguments at each schedule. In essence, the arguments should be derived from the results of a database query. Is there a way to achieve this?
...
0
votes
0
answers
13
views
I'm creating a Altyrex program scheduler, to automatically open the Altyrex file and run it then close the file. It keeps opening the files infinitly?
The program as mentioned should Open the file from the specified path, press "Ctrl" and "R" to run the file, then close said file. There are 2 types of operations a primary and a ...
0
votes
0
answers
13
views
Win2016, what triggered a scheduled task?
I have a scheduled task with multiple triggers, on event and once every hour. this task can also start with the powershell Start-ScheduledTask cmdlet, or with right-click | Run in the Scheduled Task ...
0
votes
0
answers
25
views
Error when creating a scheduler task with the schtasks utility
Hello stackoverflow community,
I am trying to make my python script create a scheduled task via
subprocess.call(r"<string for cmd utility here"),
however, I get an error when creating ...
-2
votes
1
answer
40
views
Python script is not running in Task Scheduler
So I'm trying to run a Python script that automatically collects Microsoft rewards points, that's specifically in the main.py from this GitHub repo in Task Scheduler.
In Task Scheduler I have it set ...
0
votes
0
answers
32
views
Pyautogui screenshot & schedule not correct
I have the below code saved down as a Python script which I have scheduled in Windows to run at specific times - 12:15 am and 5:15 am.
import pyautogui
from PIL import ImageGrab
from functools import ...
0
votes
1
answer
19
views
Plesk scheduled Task from cs-cart
I have create many cronjobs in cPanel but I can not in Plesk. The command I want is like this:
/usr/local/bin/ea-php74 /home/user_domain/public_html/admin.php -p --dispatch=controller_name.mode_name
...
0
votes
0
answers
49
views
Hindi IME is not ready yet
We have a requirement where we want to install Hindi Keyboard with Phonetic on user remotely using a schedule task with powershell. The schedule task is run in user mode since running in system mode ...
0
votes
1
answer
17
views
GitLab CI schedule task for specific jobs
I have several jobs that are set to be triggered only for scheduled tasks. Some job requires to run every hour and other is set to run every day.
How do I set the job to run on schedule and also on ...
-2
votes
0
answers
33
views
Why is my scheduler running the wrong code first?
import os
import concurrent.futures
import schedule
import time
import requests
from bs4 import BeautifulSoup
def process_A(input_file_path, output_file_path):
with open(input_file_path, 'r') as ...
0
votes
1
answer
20
views
Snowflake taskflow failed halfway
Say if I have a taskflow scheduled with 100 DAGs in snowflake. If the taskflow failed on the 4th task, would I be able to restart the taskflow from 4th till 100th tasks? There is a manual trigger ...
0
votes
0
answers
30
views
Netsuite make saved search populate value in custom field
In our Netsuite under Transactions. -> Order management - > Commit Orders -> Schedule
we have a scheduled commitment task that runs a saved search to get all open orders that need to have ...
0
votes
0
answers
78
views
ASP.NET Core Web API is not working on IIS after publishing,But Working on my machine,
public class NotificationJob : IHostedService
{
readonly ILogger<NotificationJob> _logger;
public NotificationJob(ILogger<NotificationJob> logger)
{
_logger = logger;
...
0
votes
0
answers
20
views
Schedule at Jenkins job at 3pm everyday
I would like to Schedule a Jenkins job to run at 3pm everyday. I am using H 14 * * * but I dont think that will do the job as I do not know how to input 3pm into the syntax. Could anyone please advise?...
-1
votes
2
answers
52
views
how to implement auction logic in spring boot
package com.project.customer.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.project.customer.baseEntity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import ...
0
votes
2
answers
93
views
Automatically cancel orders not fulfilled within 30 days
I'm trying to automatically cancel all processing WooCommerce orders that are not finalized within 30 days since order is created. The code below does not break the site but it doesn't do anything. ...
0
votes
0
answers
14
views
Task scheduler set to Run whether logged on or not deletes @ symbol
I've run into a problem when trying to run a python selenium script in Task scheduler. The script should log into a wegpage and proceed with scraping. However, when I try to send keys to username ...
1
vote
1
answer
46
views
Using PowerShell 5.1 on Windows 10, I successfully map a drive, but it doesn't when running by Scheduled Task
The below code successfully create a mapped drive on Windows 10 and 11. Running the script from Task Scheduler doesn't work. The task has been configured to run As System and I have tried the same ...
0
votes
0
answers
25
views
I want to backup a schema in remote Database as CSV file
I have a postgres DB in linux server and I want to do a backup for certain schema every week. I create a batch script and add it to windows Task scheduler,but when I run it on my Windows Server it ...
0
votes
1
answer
83
views
Selenium Automation Issue: Script Works Manually but fails in Task Scheduler
I'm encountering a perplexing issue while using Python Selenium for web automation. The script runs smoothly when I execute it manually, but when I schedule it using the task scheduler, it ...
0
votes
1
answer
56
views
Powershell Export-ScheduledTask returns 0kb files
I've written a script that uses the Powershell command "Export-ScheduledTask" to export all Scheduled Tasks to a folder for copying. The meat of the script is as follows.
$SchTasks = Get-...
1
vote
0
answers
13
views
Pass event viewer general view message as an argument in attached task
I already have another application that logs events and displays them. Within that application, I can include pre-defined arguments such as %message% to add said event's message as an argument.
My ...
-1
votes
1
answer
35
views
Proper Setup for Task Scheduler Task to Start Virtualbox VM at Startup
I can't seem to get the file directory path working to start my VM at startup.
This would be helpful so that my home hosted server is up and running all the time.
I have a Admin account over my user ...
0
votes
0
answers
23
views
Scheduling 40+ colab notebooks
I want to schedule about 40 google colab notebooks to run each Monday morning. I have Colab Pro + account since I'm dealing with big data.
I wanted to schedule the notebooks with "scheduler" ...
4
votes
3
answers
115
views
What are the semantics of Ada task priorities on Linux?
Background: I'm working on porting an Ada project from Vxworks to a Linux platform. The project heavily relies on usage of Ada's dynamic task priorities.
I've done a couple experiments which have left ...
0
votes
1
answer
80
views
How to configure EventBridge Scheduled Rule to trigger my Lambda function dynamically?
I need help about a subject. (I'm using AWS)
I'm trying to use live activity of ios in my application. I realize that I have to update live activity variable on server side while application is closed ...
-2
votes
1
answer
51
views
How could my expo app run some task every 5 minutes?
I have an app created with React Native and Expo. I need the app every 5 minutes to launch a notification for the smartphone if new orders are available near the GPS coordinates (even when the app is ...