Skip to main content

Questions tagged [cron]

Cron is a time-based job scheduler running as a daemon process in Unix-like computer operating systems. Questions about configuring cron for systems or administration are OFF TOPIC.

cron
0 votes
0 answers
19 views

ISchedulerConfiguration Cron hour doesn't work

I currently have a C# worker console project to which I have to assign to several threads the facility to run at specific times. With IScheduledEventConfiguration and the Cron() method I have used the ...
Christian Niochet's user avatar
0 votes
0 answers
25 views

Cron to fire function in WordPress Plugin - wc_rest_set_uploaded_image_as_attachment not loading images

Currently the function will complete with out problems via a button on the admin side / plugin folder. Products information updates as expected but the image fails only via Cron, Throwing internal ...
Admin Grocorp's user avatar
0 votes
0 answers
10 views

Airflow DAG Runs Monthly once Excluding holidays [closed]

I have holiday list, Run the Airflow job is running on 5th of every month, if 5th is in holiday list the job will run on 6th day else run on 5th day of every month using cron tab
Jays's user avatar
  • 13
0 votes
1 answer
15 views

treating cron service as request

I have a function that repeatedly uses a service of type 'scope: Request'. This service obtains a variable from the request header and uses it for further work. @Injectable({ scope: Scope.REQUEST }) ...
Krzysztof Gruszka's user avatar
-2 votes
1 answer
60 views

Run python code in crontab: "File not found" error [closed]

If I run the python file directly there is no problem. However, when running in crontab, error "File not found" occurs. selenium.common.exceptions.InvalidArgumentException: Message: invalid ...
l22hs's user avatar
  • 15
0 votes
0 answers
23 views

Spotipy cronjob does not run [closed]

I wrote a quick script so that I can automate adding my discover weekly to another playlist so it can be saved import os import spotipy from spotipy.oauth2 import SpotifyOAuth from dotenv import ...
currentexplanation's user avatar
-1 votes
0 answers
11 views

Crontab to run on specific dates in specific months

I'm using crontab via DigitalOcean to run scheduled crons and I've got a number set up and working correctly. However, I'm in need of running one with the following schedule: 8am on 1st, 7th, 10th ...
Jo H's user avatar
  • 1,084
1 vote
1 answer
40 views

Python Not Recognized in Scripts Executed via Cron

Summary I'm obtaining an error when running a bash script via cron. The script errors out when it reaches the following command; keep in mind that the bash script swaps out ${END_DATE} with the date ...
P-Sides's user avatar
  • 79
0 votes
0 answers
20 views

How to get anacron daily to run at specific time

I am using Fedora and anacron to schedule regular daily maintenance tasks. The problem is that I cannot get the jobs run at the time I want - 00:05. My /etc/anacrontab file: # /etc/anacrontab: ...
Kevin Gilbert's user avatar
0 votes
0 answers
33 views

Laravel 10 artisan PHP Startup: Invalid date.timezone value '', using 'UTC' instead

I am using Laravel 10.x and I am running artisan command using Cronjob /opt/alt/php82/usr/bin/php artisan schedule:run >/dev/null 2>&1 every minute as follows: namespace App\Console; use ...
Maka's user avatar
  • 503
0 votes
2 answers
64 views

Spring boot CRON expression is not working

I use spring bootd and I want to run a CRON each Saturday at 10 am. I decided to run the con every 10 minutes to see if the function was called. @Scheduled(cron = "0 */10 * * * *") public ...
Teddy Kossoko's user avatar
0 votes
0 answers
12 views

REplit + Node JS - How to override local file JSON data

My code snippet works with node js but my actual file “LOCAL_JSON_FILE_PATH” does not update with the new data. I want to remove old data from the file and import new data at set times. My code works ...
Houghtonator's user avatar
1 vote
0 answers
19 views

If multiple Python processes write data into InfluxDB, only parts are written

I have multiple Python processes, running on a server (RPI5) by cron, which read data from web API's, and write it then into a common InfluxDB database - on the same bucket. However, some of the data ...
lambruscoAcido's user avatar
0 votes
0 answers
12 views

Run every other day, regardless of day of week or month

I want to create a cron expression that runs every other day. I don't care if the day of month is odd or even, I don't care what day of the week it is. I want it to run, then wait 2 days and run again....
ewok's user avatar
  • 20.9k
-1 votes
1 answer
32 views

@nestjs/schedule throws Error on macOS: Nest can't resolve dependencies of the SchedulerMetadataAccessor

I use NestJS in the latest version (10.3.10) on macOS 14.5. For time-based scheduling, I installed @nestjs/schedule also in the latest version (4.1.0). After that, I implemented the code for the ...
Silas Manns's user avatar

15 30 50 per page
1
2 3 4 5
1306