Category "scheduled-tasks"

Hourly cron Job Excuting 60 times

I am trying to send an email hourly using the Task scheduler in (laravel) framwork, the command I am typing in the kernal.php: $schedule->command('cron:activ

Python script when scheduled gives PermissionError: [WinError 5] Access is denied

I have .bat file which I want to run by task scheduler. Bat file has something like: "C:\Python3\python.exe" "%PATH_to_script.py" And when I try to run this fr

How do you define the first day of the month (without including week-ends) in a batch script?

I have created a scheduled task in Windows that consists of running a batch script. The problem is that this task has to be scheduled every 1st day of the month

Encountered invalid @Scheduled method 'methodName': Only no-arg methods may be annotated with @Scheduled

plz I don't know wath is the exact problem in the code if I add Scheduled annotatiçon in my code suddenly this error appears if you have any soulustion p

Execute a single task with multiple threads on a schedule

I have a function foo() that I want to be invoked by multiple threads on an interval. example: want to execute foo() every 100ms with x number of threads. I am

.NET Core Worker service host as a Windows Services (using Coravel for task scheduling)

I have created a worker service to schedule a task using Coravel is a .NET Standard library and it is working as expected. I want to host the same as a windows

batch file from scheduled task returns code 2147942401

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 locatio

Task scheduler to run tasks only during the last full workweek of the month

I have multiple tasks that need to be scheduled during the last full workweek (Monday through Friday) of every month. These will be scheduled from a Windows Ser

How to add scheduled job to all nodes in java springboot cluster?

We have two springboot servers. We use nginx so that the user request will be sent to one of the server node. Now we want to achieve that: After user inputs thr

How to create a scheduler application in php

I want to develop a scheduler in php I know there is cronjob already present in php but I want to develop like java but I don't want to use sleep(1) method. I k

How to delete folder from Task Scheduler with PowerShell?

I can create a Scheduled Task in Windows using the Register-ScheduledTask PowerShell cmdlet with a particular path (i.e., using -TaskPath "\SomePath\" and -Task

Spring scheduling task - run only once

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 t

Schedule a task to run every friday, but avoid to run it twice if it's done and computer rebooted on friday + do it next day if computer off on friday

I've tried to schedule a specific task with Python with various methods: rolling my own scheduling (with time.sleep(3600) and check every hour), see below tryi

HangFire dashboard not displaying in PROD

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 specifie

Import CSV into SQL Server 2008 R2 Automatically

How can I have SQL Server Import csv data from a folder automatically? I have a folder named RawData on the root drive that a system is currently pushing a csv

Round-Robin Scheduling with Arrival Times

So in class, my professor was going over round robin scheduling. Consider this situation: Job | Arrival | Burst A | 0

Logging into Outlook using powershell with no user logged on

I was wondering if its possible to create a powershell script to log into a specific outlook mail box and than add the script to the scheduled task so that no u

XPath Query for Scheduled Task

I am trying to create a Windows Scheduled Task to notify my everytime some other scheduled task in a special folder failed. To do this I have setup a scheduled

Scheduled tasks (cronjobs) how to do that on one server only

I have a PHP solution where a number of tasks run every minute with cronjobs (wget URL's on server). That is all fine, but I would like to be able to launch mul

Where can I find the Windows Task Scheduler exit codes list?

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 hav