Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
30 views

Automating a checklist by scraping data from a website [closed]

So, in my company i was told to check a website for every hour with a script. The website require login to access, and inside there is a specific table which track our company devices real-time. The ...
Orion's user avatar
  • 1
0 votes
1 answer
24 views

I want automatically to execute the cronjob in node.js at exactly last day of the month

const sendReport = new CronJob( "0 0 28-31 * *", async function () { try { console.log("Running a task every minute in sending Reports"); await sendMail();...
chemuel castillo's user avatar
0 votes
1 answer
20 views

How to Remove log files using cron job in specific directories [closed]

Hello how to remove specifig log files in specific directories for example, i run some scripts and it makes hundres of log files every hour in directory /home/admin/web/diegeschichte.in/public_html/wp-...
The young's user avatar
0 votes
0 answers
16 views

NestJs Cron Jobs Which Previously Worked Are not Functioning

We're using NestJS scheduler for cron jobs, we've had a certain amount of cron tasks which have been running without any issues in production. However we've recently doubled the amount of cron tasks, ...
badhabit16's user avatar
0 votes
0 answers
17 views

Telescope Jobs Stuck in Pending Status

When we schedule jobs (PushNotificationJob, see below) to run every 5 seconds, majority of the jobs displayed in Telescope remain stuck in the Pending status. Please see the screenshot below: As ...
Amir-Homayoun's user avatar
1 vote
2 answers
55 views

Difficulty with 5-second Cron job using Laravel-PHP

I want to schedule a job (Task1) to be run every 5 seconds. I have the following code: class Kernel extends ConsoleKernel { protected function schedule(Schedule $schedule) { $schedule-&...
Amir-Homayoun's user avatar
-1 votes
0 answers
8 views

Wordpress do_shortcode not working when run from wp_cron

Im using TablePress plugin on my website and i need to parse pages content by cron, so a have a function add_action("test_hook", "test"); function test() { $content = ...
Gregory Sapogovsky's user avatar
0 votes
0 answers
9 views

How to find when was redis cache last cleared | Magento domain

How to find when was redis cache last cleared | Magento domain is there way to find the details? Checked redis info details, is the uptime info is linked with cache clearing. How often redis will ...
ARUN LAL's user avatar
0 votes
0 answers
13 views

unable to run a cronjob every 5th minute with parameter

I am trying to run a shell file every 5th minute, but that file will run with some parameter like example when i run the file manually i have run following command ./test.sh a b c cronjob setup like:...
Niladri Dey's user avatar
0 votes
2 answers
36 views

Temporary scale down some deployments to release resources for a cronjob in Kubernetes

I have several cronjobs, that require quite a lot of both CPU and RAM, but it only runs once a day for a few minutes (scraping data from websites). So, my question is, can I automatically scale down ...
grannysbuds's user avatar
0 votes
1 answer
44 views

How to Handle Unused S3 Objects in a CMS?

I have a Content Management System (CMS) where users can upload images or videos. As soon as a user adds media to the editor, it gets uploaded to an S3 bucket, and the object key is returned and saved ...
Cyrill22's user avatar
0 votes
1 answer
42 views

No cron event is being executed on my WordPress

I have a problem on my Wordpress, no cron event is being executed on my WordPress. Checking in the WP_Control plugin, I see that no hooks are being executed. What could be the problem? I have tried to ...
Andrés Gómez's user avatar
-4 votes
0 answers
69 views

Can I know this is the correct way or make it more efficient for delay in java [closed]

I am delaying the process until get the condition to be false. Boolean flag get it from another job. if I get the flag as false I will do next job or I will looping the delay. please suggest can we do ...
Vinoth BS's user avatar
0 votes
0 answers
9 views

Haraka SMTP Server can not send email because unable to rename tmp file

I used Haraka as my smtp server. I added cron job to restart Haraka service regularly for freeing memory after sending tons of email. I found in my logs, that sometimes Haraka unable to rename queue ...
Agus Wahyu Eka Prasetya's user avatar
0 votes
1 answer
86 views

How to run laravel scheduler/cron jobs on Coolify.io self hosted

I'm running a Laravel application hosted on a VPS, managed by a self-hosted Coolify.io service. I've set up the application to auto-deploy on Git commits using Nixpacks, following the documentation, ...
Jibin Bose's user avatar
1 vote
0 answers
67 views

Scheduled query is being executed at a different and delayed time in PG_Cron

My use-case: Run a query at a specific time daily using PG_Cron My problem: The expected output of running my Cron select cron.schedule('fifty-min', '50 * * * *', $$UPDATE sample_JSON2 SET is_active = ...
user21819272's user avatar
-1 votes
0 answers
31 views

Automating python script with Crontab with a Macbook in sleep mode

I am really struggling to get my macbook air m1 to run a daily Cron job while the laptop is closed and not in use (i presume in sleep mode). when i have the laptop open and am actively using it, the ...
Logan Nielsen's user avatar
0 votes
1 answer
43 views

Cron is not inheriting environment variables in Docker container

I am trying to run cron inside a Docker container to periodically update my database, perform backups, etc. Here is my cron job configuration: */1 * * * * (. /app/.env.development; echo $DJANGO_COLOR) ...
zdeneklapes's user avatar
3 votes
3 answers
178 views

Random, yet predictable cronjob schedule based upon arbitrary user data in Bash

I'm trying to construct a random, yet predictable cronjob schedule for a monthly and daily cronjob based upon arbitrary user-provided data. The daily and monthly cronjobs should run with a sufficient ...
PhrozenByte's user avatar
0 votes
0 answers
23 views

Command to create postgres dump running fine on terminal but not as a cron job [duplicate]

I have a cron job which regularly backs up data to Exoscale servers. The cron job should back up to the server if the postgres database dump is of considerable size. When executing the cron job, the ...
Rishik Mani's user avatar
0 votes
1 answer
60 views

Run cron at 11 30 AM alternating days [duplicate]

I want a cron job for NodeJS that runs at 11:30 AM alternating days. I searched but I get solutions only for daily, not any solution for every other day. ChatGPT suggested const isAlternateDay = ()...
Hiren Kalariya's user avatar
0 votes
0 answers
32 views

How to run Laravel Scheduled Task using Docker

I have laravel project that need to update employees used leaves and remaining leaves on every year begin. So I have created scheduled task to run on every year begin. Also tested it in local setup by ...
Jayani Hettiarachchi's user avatar
0 votes
0 answers
22 views

setpgid: Operation not permitted error when running crontab in Alpine in Docker [duplicate]

Edit: Since this question was marked as a duplication of 68177789 I have changed the code to reflect the Sig's solution without any luck. Please do not close this question. The dupe has no answers. I ...
Arete's user avatar
  • 984
0 votes
0 answers
49 views

How to request a URL every 30 seconds on a server?

I have a Google Cloud Function that I would like to trigger every 30 seconds. The function's trigger is set to a URL, so I must request the URL to run it. My goal is to run the function every 30 ...
Benjamin2002's user avatar
-3 votes
1 answer
44 views

Job Scheduler Implementation with monitoring the job Using cloud (Azure Web jobs) in Dotnet [closed]

I need idea or some suggestions on tool to create POC for our own job scheduler using following tech stack, which should replace the onpremimse AutoSys to cloud based solution. Tech Stack: Angular C#,...
Vignesh Kumar A's user avatar
0 votes
1 answer
25 views

How do I easily extend the scope of my CRON job, monitor and retry if a part/all of the job fails?

I run a website that allows users to book ferry tickets. We keep local inventory of ferry schedules in our DB. The way it works is that we have code that fetches schedule data from ferry operators' ...
Shrenik Raj's user avatar
0 votes
0 answers
20 views

Report contains control characters when run in cron

Running on Raspberry Pi with bookworm. I have some python code, "inxi_test.py" #!/home/pi/.venv/bin/python import subprocess ret = subprocess.run(['inxi -F'], shell = True, ...
Mick Sulley's user avatar
0 votes
1 answer
32 views

Wordpress cron job to check and update post_meta

Setup: I have a custom post type ('place') that have a meta field: 'highlight' (DateTime) which is the time that the highlight feature expires. Goal: Once the highlight time has passed (expiry < ...
Alexandru Vlas's user avatar
0 votes
0 answers
17 views

Cron stops triggering jobs across entire Jenkins instance

It's happened a couple of times in the last few months, that on one of our Jenkins instances, all jobs that are run by cron stop being triggered. Restarting the Jenkins instance fixes it so that cron ...
twasbrillig's user avatar
  • 18.5k
0 votes
0 answers
45 views

GCS Fuse is not working in CronJob in Google Cloud

I am trying to access and write CronJob logs to google storage buckets. I have already setup the service account and another deployments are using the same using annotations gke-gcsfuse/volume: "...
Ravi Srivastava's user avatar
0 votes
0 answers
23 views

Wordpress Plesk cron error / syntax error

I'm not sure if this is the right place to ask this, but i have to start somewhere… On a client site I get this error message from plesk desk since a couple of days ago: PHP Parse error: syntax error,...
tillinberlin's user avatar
1 vote
1 answer
160 views

Response ended prematurely while scrapping web page inside cronjob

I created Cronjob to execute the Script every 24 hours, I noticed that this error occurs when the code compiles itself during the cron process on the local machine I did not notice this problem. ...
Giggest's user avatar
  • 142
0 votes
0 answers
26 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
1 answer
48 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
1 answer
35 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
1 vote
1 answer
53 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
35 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
70 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
  • 543
0 votes
2 answers
82 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
15 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
2 votes
1 answer
34 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
15 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
  • 21k
-1 votes
1 answer
85 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
0 votes
0 answers
36 views

Unable to start R script from crontab - Ubuntu 22.04.4 LTS

I tried to start R script from crontab on ubuntu 22.04.4 LTS but script didnt start my code (edited by nano crontab -e) gives 50 9 * * * Rscript 1.r crontab edited without nano crontab -e gives no ...
Jan Jankowski Janek's user avatar
0 votes
0 answers
25 views

CRON syntax on a specific day

I am trying to create a cron on this rule : The 15th of each month but if it is the week end launch it the next monday The cron below is near what I want, but it take the nearest work day. If the 15 ...
Etienne's user avatar
  • 408
1 vote
2 answers
181 views

Need help in preventing multiple crons/scheduler running in golang

I'm working on a Go microservice where I am using robfig/cron package to schedule jobs, initially thought of using time.Ticker() but package made it easier for me. My question is how to ensure cron ...
Harry's user avatar
  • 27
0 votes
0 answers
9 views

AWS Lambda: cron-based trigger is not created along with funtion

I'm declaring my function as dp-batch-expiration: name: dp-batch-expiration role: dpBatchExpiration handler: c.c.o.l.e.BatchExpiration::handleRequest events: - schedule: method: ...
Sergey Tsypanov's user avatar
0 votes
0 answers
64 views

Tkinter GUI doesn't open from Crontab

I have a Raspberry Pi 4 Model B, and I try to start a very basic Tkinter GUI on reboot. #!/home/pi/miniforge3/envs/myenv/bin/python import tkinter as tk def tk_gui(): root = tk.Tk() root....
Aenaon's user avatar
  • 3,483
0 votes
0 answers
43 views

Laravel schedule logs are not at same place as Laravel task logs

I have Laravel 8 app in development mode that has task scheduled on every 20 seconds: `protected function schedule(Schedule $schedule): void { $event = $schedule->exec('php artisan app:...
Nikola Tripkovic's user avatar
0 votes
0 answers
43 views

Cron Jon in Namecheap shared hosting and Laravel

I am a newbie in Laravel. I am trying to run a Cron job in Laravel on Namecheap shared hosting. When I run the script through browser it works perfectly. URL - https://mydomain.app/api/block-numbers-...
Yunus Aslam's user avatar
  • 2,467

1
2 3 4 5
392