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
Filter by
Sorted by
Tagged with
-1 votes
0 answers
7 views

Rock Pi 3C Model

i want to run multiple script in backend using crontab but facing problem. Multiple script in crotab not running properly. i tried single script to run in backened it works but when multiple script ...
Vineeta Boora's user avatar
0 votes
0 answers
22 views

The container don't reflects what was executed from Dockerfile

I'm wondering if something is missing in my configuration?. Each time I recreate containers, everything seems to be correct. However, after creating and logging into the container, none of the listed ...
Leo Gastiaburú's user avatar
-1 votes
0 answers
12 views

How to monitor an RSS Feed?

The only way I know would be to use a cron job of sorts to fetch the url. But say if that's done using a serverless architecture every 5 seconds, then according to PerplexityAI, the cost will be ...
wongx's user avatar
  • 6,861
2 votes
2 answers
35 views

How do you set the timezone in the Ansible cron module?

I have an Ansible playbook that sets up cron jobs. Because of the structure of the project, we don't use cron.conf files. We need to run a job twice a day at specific times for different EC2 instances ...
A.Bux's user avatar
  • 103
0 votes
0 answers
17 views

python script doesn't run correctly when run by a crontab

I have a python script that runs properly when i execute it manually, but not when i use a crontab. The script recuperate information from a file and store them in a database. When the script is run ...
rira's user avatar
  • 11
2 votes
0 answers
27 views

How to deal with chunk data for cronjob with BullMQ?

I am working on a cronjob with BullMQ node module. I have 3000 users and I want to seperate 3 jobs, which one job is for 1000 users, and process cronjob. But when I run this code, it performs many ...
M108's user avatar
  • 42
0 votes
0 answers
63 views

Parallel execution of multiple tasks

I'm trying to create a list of tasks, that execute in parallel at a certain cron. There are 5 config Stream1 -\> config.Cron = \* 05 10 \* \* \* Stream2 -\> config.Cron = \* 07 10 \* \* \* ...
Maxze's user avatar
  • 1
-1 votes
1 answer
17 views

cron jobs are not getting triggered on aws ec2

I've sat a cron job, on root user and it does not wanna get triggered: [root@ip-... tmp]$ crontab -l 0 19 * * * python3 /home/user1/lambdaCaller/call.py > /home/user1/lambdaCaller/error.log 2>&...
mo qaoud's user avatar
0 votes
0 answers
18 views

want to scheduled cron job according to dynamic variable

I have method needs to run at specific date but date can be changed according to api response so if I created a global variable like private String cronJobRunAt; and this value is changed or provided ...
MangeshShinde's user avatar
-1 votes
0 answers
25 views

Script not running as cronjob whereas going well in ssh-connection

I have a python script which runs perfectly in ssh-connection. (logged in as root, script has permissions root/root) But when called in a cronjob: @reboot /usr/bin/python3 /bezetting.py >> /...
willT's user avatar
  • 1
-5 votes
0 answers
33 views

Why do I receive a Panic log error on Cron Raspberry? [closed]

Crontab on RPI suddently stops to work and I receive the following message after asking the cron status : Cannot open main log file "/var/log/exim4/mainlog": Permission denied: euid=111 egid=...
Jean Marc Canon's user avatar
0 votes
1 answer
35 views

I want to know the next cron expression start time using CronExpression.next. But it doesn't work as I expected

ZonedDateTime next = CronExpression.parse("0 0 1 ? * 1") .next(new Date().toInstant().atZone(ZoneId.of("Asia/Seoul"))); System.out.println("next = " + next); ...
jisu kim's user avatar
-1 votes
0 answers
10 views

Multiple options in a docker run

Pardon my ignornace here-- Working on a system that requires me to run a cron/curl job that doesn't have cron/curl installed. Found a docker image that would give me a workaround but having some ...
Brad Herrold's user avatar
0 votes
0 answers
29 views

crontab won't open chromium at boot

I set crontab to execute a bash script at boot @reboot bash /home/user/linuxconfig/startup.sh During every boot I see the bash is executed because it creates dummy files. #!/usr/bin/bash touch /home/...
SLP's user avatar
  • 303
-1 votes
0 answers
26 views

JQ works when I run PowerShell through terminal but not when I use cron jobs

I'm working on a PowerShell code using jq inside it. jq -c '.Documents[]' FULL_PATH/input.json > FULL_PATH/output.json When I directly execute it in terminal the entire program runs without any ...
sanjanakaranam's user avatar
0 votes
0 answers
13 views

Run python scripts with cron schedules using Powershell

Am new to powershell, So I want to know if we can run python scripts having cron schedules in powershell. I dont want to use windows task scheduler. also my python.exe and the .py scripts are placed ...
Rukmani Devi's user avatar
0 votes
1 answer
54 views

Laravel 6 Task Scheduler Issue: Commands Not Executing

I'm encountering an issue with Laravel 6's task scheduler, where scheduled commands are not running as expected. I want to automate two methods in two different classes using Laravel's task scheduler. ...
user24272226's user avatar
0 votes
0 answers
40 views

How to reduce latency in a systemd service for BLE threads [closed]

Is there a way for the systemd service to run as fast as the program run through terminal? I have a python program (fpp_ble_server.py) that uses gatttool to control some BLE lights, the program works ...
Joseph Koen's user avatar
-4 votes
0 answers
29 views

Java cron expression [closed]

I need to set up Cron expression which will never execute the job I have 6 characters cron <bean id="detectPopularAttributesTrigger.cron.custom" class="java.lang.String"> ...
Kirill Sazonov's user avatar
0 votes
1 answer
33 views

Executing shell script with a cron job

I can't execute a shell script with a cron job on WordPress (knowing that I can't use crontab). I can execute it with 'sh my_script.sh', but not with a cron job. I've tried various scripts like this: /...
mat4's user avatar
  • 1
0 votes
0 answers
19 views

Crontab created by www-data user not working

I have a python that creates a cron job in order to call another python script, but it's not working properly. In the first python I have: from crontab import CronTab cron = CronTab(user=True) job = ...
Rafael Cruz's user avatar
0 votes
1 answer
52 views

How to edit a cron expression at runtime in C# .NET?

I have an application with Quartz.NET that receives a cron expression as a string (e.g. 0 0 12 * * ? - Fire at 12pm (noon) every day) from a client, but I actually need the quartz job to trigger half ...
Zdeněk's user avatar
  • 43
0 votes
2 answers
32 views

How to execute a bash script in crontab?

I am trying to send 2 csv files from one Pi to another Pi. I have a shell script that does this and works perfectly fine when executed in the terminal. But it won't work when I run the script in ...
Liberty's user avatar
-1 votes
1 answer
20 views

Which cron should I use for Symfony 6.4? I've already tried everything and the versions don't work

Which cron should I use for Symphony 6.4? I've already tried everything and the versions don't work composer.json { "type": "project", "license": "...
Densetsu's user avatar
0 votes
0 answers
16 views

Problems with cron job in node js and vercel

I need to create a feature so that a function is automatically executed once a day in my Node JS application. I have a (very simple) test function that was implemented as follows: //src/schedules/...
LayTexas's user avatar
  • 625
0 votes
0 answers
10 views

OpenShift Pods failing to be deleted when Job is deleted

On OpenShift V4.12 the cronjob 'collect-profiles' within the namespace 'openshift-operator-lifecycle-manager' starts a job every 15 minutes. The cronjob has a setting of successfulJobsHistoryLimit: ...
timd's user avatar
  • 376
1 vote
0 answers
17 views

In AIX (korn Shell) script I am executing in nohup getting failed with an error "Not a terminal" while on screen same script is working fine

In AIX script I am executing in nohup getting failed with an error "Not a terminal" while on screen same script is working fine.. I saved a script say it b.ksh, when I run it on screen ksh -...
Saurabh Thakuria's user avatar
-1 votes
1 answer
31 views

How to resolve the Composer dependencies conflicts symfony?

I'm writing a PHP application based on Symfony v6.4 and want install a bundle using composer require mybuilder/cronos-bundle But an error appears: Your requirements could not be resolved to an ...
Densetsu's user avatar
0 votes
0 answers
21 views

Python - Way to interact with GUI from script executed by crontab - Raspian OS

I want to interact with the GUI of my display(Open an image every time I press a button that I have interfaced via GPIO) via a python script which is executed after bootup. (I have edited crontab file ...
harsh's user avatar
  • 83
0 votes
0 answers
10 views

spring-cloud-dataflow 2.11.2 cronjob

is there anyway to set the timeZone for dataflow schedule cronJob? I looked into the dataflow documentation and seem only have cronJobSpec options for backOffLimit and ttlSecondAfterFinished I couldnt ...
Dank's user avatar
  • 1
0 votes
0 answers
10 views

Node.js Instances with Cronjobs: Control Flag Issue Resulting in Looping Behavior

I'm encountering an issue with my Node.js program where I have three instances running concurrently, each containing a cronjob managed by the cron library. However, intermittently, the control flag ...
MikeB's user avatar
  • 13
0 votes
0 answers
32 views

Nestjs Cron-job using bullmq doesn't work

I implemented cron-job using bullmq in nestjs back-end. Producer code: import { Queue } from 'bullmq'; import { BullQueues, BullWorkers } from '../../../../../apps/api-server/src/shared/utils/...
Eric Ryan's user avatar
1 vote
0 answers
47 views

Python & Django web app - auto emails not sending - troubleshooting Cron

I have a webapp running on an ubunti vps. Cron is scheduled to run a task evry sunday morning, however, I found it ran once and not again the next week. I have been reading about cron and how to ...
Tom's user avatar
  • 13
0 votes
1 answer
33 views

Hangfire - where is saved CRON in database?

Where HangFire keeps CRON for recurring job in database? For example, how to modify such expression to get info about thier CRONs? SELECT [Key] ,[Score] ,[Value] ,[ExpireAt] . *...
Jacek's user avatar
  • 11.9k
0 votes
0 answers
33 views

Knock notification service not working calling from a cron job in NextJS

I am deveolping a web app in React, NextJS and I'm using Knock as notification system for sending in-app notifications when some event happens. In this case i want to send a notification to all users ...
Andrea Catani's user avatar
-1 votes
0 answers
29 views

Automating Python Script just for N runs then stop

I made a Python program that gets a list of emails and names from o .CSV file, some configurations and parameters from a .JSON and then sends an email for every address on the .CSV. It then update the ...
GTCar1984's user avatar
1 vote
0 answers
20 views

Dynamic Run-name based on environment variable set in script

For my multiple scheduled job, I want to set run-name dynamically based on job action/output I have 4 scheduled jobs which run on Desktop, Iphone Browser, API Test and Android Browser. Based on ...
Anjali Chhabra's user avatar
-1 votes
0 answers
14 views

"No MTA installed" error happens only when I use python script with VENV in cron [duplicate]

I have a debian 12 server where I want to run a Python Script that will check the expiration date of my domains. In order to practice working with Python, I decided to work through its built-in ...
Konstantin's user avatar
0 votes
1 answer
31 views

Raspberry Pi transmitting CSV files using scp not working when in crontab?

So i am trying to send 2 CSV files from one Pi to another Pi for a project. I have done this and it works. shell code below: called fileTX.sh #!/bin/bash password="pword" username="pi&...
Liberty's user avatar
0 votes
1 answer
61 views

Python3.11 can't open file [Errno 2] No such file or directory

I updated readOnlyRootFilesystem: true in my cronjob yaml but started getting the error OSError: [Errno 30] Read-only file system: '/absolute/path/to/your/folder' I further added an empty directory ...
Frozen Shot's user avatar
0 votes
0 answers
14 views

Overwhelming of the Agenda cron jobs on the server

I have about 30 cron jobs to handle pushing the notifications. I use Agenda package to handle these cron jobs. But the notification service is blocked every 2 or 3 weeks without any exception so I can'...
Ahmed Khairy's user avatar
0 votes
2 answers
142 views

How to schedule cron job in spring boot to run for every 5 minutes with in specific period

I have the following code in spring boot, its working fine and job running for every 5 mins. I want it run between 9:30 AM to 5:30 PM for every 5 minutes. How to add the the specific time period for ...
Sivaram Chintalapudi's user avatar
0 votes
0 answers
18 views

Building a service which sends emails everyday to the user at a particular time. (NOT RUNNING)

i was writing code for a service which sends email daily to the user at the given time input by the user in the frontend. The time gets stored in timings collection for that particular user and then, ...
Prakhar10's user avatar
1 vote
2 answers
40 views

Extend function execution on product update via a Cron Job or REST_API

Is it possible to execute this php function when product is updated via Cron Job or REST_API? Cron JOB is updating _stock2 meta field, and rest_api is updating basic stock quantity of woocommerce ...
Eryk Paśnik's user avatar
0 votes
1 answer
20 views

Activity status in Node js

I am making a pet-project in MERN stack where I want to implement the activity status of users. After 3 minutes of inactivity the user status becomes inactive. One approach i am considering is by node-...
Muhammad Muaz 's user avatar
0 votes
1 answer
52 views

Azure YAML Pipeline schedule to run on the last Sunday of the month at 4 AM

I want my Azure YAML pipeline to run on every last Sunday of the month at 4 AM. I currently have the following cronjob/schedule in my pipeline: current cron job But this one runs every Sunday at 4 AM, ...
Sjekkel's user avatar
-1 votes
0 answers
24 views

Run scheduler on authenticated api

I wanna run scheduled job on one of my api. All of my api are authenticated that means they expect a Bearer token as Authorization, which is dynamically generated by firebase auth everytime we hit the ...
Harsh Prasad's user avatar
0 votes
1 answer
59 views

I would like to Create a schedule in Databricks that runs a job on 1st working day of every month

I would like to create a schedule in Databricks that runs a job on the first working day of every month (working days referring Monday to Friday). I tried using Cron syntax but didn't have any luck. ...
Deepak Kumar's user avatar
-1 votes
0 answers
21 views

Add and Replace Jobs in Crontab [duplicate]

EDIT: This should be done in a script, not opening or editing via crontab -e I have a list of cron jobs that already exists, below are some of them */30 * * * * /path/to/script.sh 0 12 * * * /path/to/...
Alex's user avatar
  • 111
0 votes
0 answers
22 views

Moodle Forum notifctions

This is my first question on this site. I was told this would be the best way to find an answer. I have a moodle install that seems to run ok but I am not able to receive any forum notifictions. I ...
Howard's user avatar
  • 1

1
2 3 4 5
392