scheduled-tasks Questions

4

I want to create a scheduled task to run under the "LOCAL SERVICE" account. The task will call a C# program (.NET 4.5). To do a POC, i kept the C# program to be simple - one that just writes a text...
Heartland asked 14/9, 2014 at 6:32

2

Good Afternoon, I am trying to run this script remotely and I keep receiving the following error: Register-ScheduledTask : No mapping between account names and security IDs was done. (42,4):UserI...
Hazelwood asked 11/10, 2019 at 17:51

7

We have some scripts that create scheduled jobs using PowerShell as part of our application. When testing them recently, I noticed that some of them always failed immediately, and no output is ever...

5

I am trying to set up a python code to be executed automatically. I started with a small code to be executed: import datetime with open("out.txt","a") as f: f.write(datetime.datetime.now().isof...
Toolmaker asked 22/2, 2016 at 13:7

2

Solved

I have a batch file which in turn calls VB Script. The task of the VBScript contains a macro whose job is to login into the Oracle db, run few queries, fetch the output in Excel sheet and then it p...
Igenia asked 4/2, 2019 at 13:8

10

I am trying to schedule a job to run a batch file with Windows 10 Task Scheduler, but it results in return code 2147942401. The batch file is on remote location so I am giving the absolute path "\...
Millenary asked 19/1, 2018 at 15:5

21

Solved

I have a small script on my Domain Controller that is setup to email me via SMTP about the latest Security Event 4740. The script, when executed manually, will run as intended; however, when setup...
Skill asked 15/8, 2013 at 19:11

8

I'm trying to setup a scheduled task with ECS Fargate but I cannot figure out why it is not running. I can confirm the task works correctly using RunTask but when I try to trigger it on a schedule ...
Multiped asked 25/12, 2017 at 21:13

5

I am developing an ASP.NET application, which will be uploaded on Azure. If I have multiple instances on Azure and I want to run a cron job that will be necessary for my application. Then, I just w...
Disconnect asked 6/4, 2013 at 11:22

15

I'm trying to schedule a task in Windows 10, on the event of "At log on" in order to start several programs, but it won't run after several trial/error. The task is configured as follows: General...
Donatist asked 29/12, 2016 at 14:55

3

I'm trying to create a task scheduler event that triggers when our application runs into an exception. However, I only want it to look for a certain string of text. So is there a way to craft an XM...
Respondent asked 19/6, 2018 at 14:27

10

Solved

Not sure if anyone has run into this, but I'll take suggestions for troubleshooting and/or alternative methods. I have a Windows 2008 server on which I am running several scheduled tasks. One of t...
Ml asked 25/11, 2013 at 14:51

7

Solved

Having a frustrating time with scheduling a Python script (C:\Python27\test.py), which has the following code: import xlrd import csv with xlrd.open_workbook('Z:/somefile.xls') as wb: sh = wb.she...
Harmon asked 2/4, 2014 at 18:47

5

Solved

I've setup my AdoJobStore on the server and all my jobs are running perfectly. Now I am writing a remote client to manage all my jobs. Scheduling new jobs is straightforward enough, but I can't se...
Colburn asked 19/9, 2012 at 6:18

3

Solved

Currently, long running tasks will overlap (same task runs multiple instances at the same time) if the time necessary to finish the ask is greater than the interval. example NestJS service below im...
Noticeable asked 6/3, 2021 at 1:20

5

Solved

I am quite new in building bots so I created a very simple Telegram bot and it works great but can't figure out how to make the bot send messages every n minutes or n hours when /start_auto command...

7

Solved

I have developed a console program in C# .NET, that uses Excel Interop. The program works just fine on my development machine and in the windows server 2008, if I run it from command line. When I ...
Riker asked 11/2, 2011 at 20:53

2

Solved

THE PROBLEM: I want to run a simple function, 5 seconds after app goes into background. I had to implement BGTaskScheduler, to support iOS 13. The old implementation for BackgroundTask works for m...
Solleret asked 23/12, 2019 at 11:58

10

Solved

When running a simple PowerShell script from Task Scheduler, I would like to redirect the output to a file. There is a long thread about this very topic here, yet it's not clear if they reached t...
Triacid asked 9/12, 2012 at 3:35

3

How do I schedule a task with celery that runs on 1st of every month?
Plage asked 9/12, 2010 at 11:7

12

Solved

I am defining scheduled jobs with cron style patterns in Spring, using the @Scheduled annotation. The cron pattern is stored in a config properties file. Actually there are two properties files: o...
Physicist asked 23/8, 2013 at 15:36

5

Solved

I'm developing a service that suppose to start of every hour repeating exactly on the hour (1:00PM, 2:00PM, 3:00PM, etc.). I tried following but it has one problem that for first time i have to ru...
Noguchi asked 18/4, 2012 at 6:47

4

I have a program that is a DAG which process and cleans certain files, combines them, then does additional calculations. I want a way to run the whole analysis pipeline, and re-run if anything chan...
Nynorsk asked 8/11, 2019 at 0:14

8

I have to download a file from an SFTP server everyday. I have the program which retrieves the file from the server but I was thinking of setting up a cron job (or anything similar) to automate tha...
Tracey asked 25/8, 2011 at 18:37

3

I am building a SaaS application, where users logs in and creates reminders for a particular date and time in future, and when the time is met, my application is responsible for reminding the respe...
Turmoil asked 26/4, 2017 at 8:55

© 2022 - 2024 — McMap. All rights reserved.