Skip to main content

All Questions

Tagged with
0 votes
1 answer
35 views

Cron job scheduled in spring app to distribute data with all instances

I have a design question Cron job scheduled in spring app using @scheduled, I have 4 instances and I want the job to run in all the instances by distributing data. Say I need to process 1000 data, ...
Suhashini Lokesh's user avatar
0 votes
1 answer
97 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
24 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
0 votes
0 answers
47 views

Spring scheduled - can I join fixed delay with cron

I am using spring and springboot, and I have case with two tasks, which until now was triggered by @Scheduled with fixed delay. It is a must condition, that next task won't start if previous did not ...
rudkul's user avatar
  • 17
1 vote
1 answer
213 views

How solve "Illuminate\Console\Command" not found?

I have a web application in a production environment. The path to the command is correctly set on the server, but it still throws error "Illuminate\Console\Command" not found. Solutions ...
jwchild's user avatar
  • 23
0 votes
1 answer
36 views

Need to understand celery crontab

I am running a cron job using celery.schedules crontab library which looks like this 'task-hourly': { 'task': 'task', 'schedule': crontab(hour='*/1'), 'options': { '...
ignacio-varga's user avatar
1 vote
0 answers
9k views

How to make @Scheduled(cron=xxx) run normally when adjusting the server time to a point before the current time?

I have 23 methods annotated with @Scheduled, all of which use a cron expression. One day, I modified the server time to be several hours later and then changed it back. To my surprise, I found that ...
Criwran's user avatar
  • 411
0 votes
0 answers
46 views

How to schedule a function to run every hour on Plumber?

I have a Plumber web hosting with no access to cron command. How can I execute some R function every day? P.S. I'm aware of cronR package but this requires to have access to the cron command, in my ...
Yasin Amini's user avatar
0 votes
2 answers
53 views

Issue In Laravel nested relationships when running Cron Jobs Scheduling

I need to get data of default_item_name relationship by using command php artisan schedule: run. but I am not getting default_item_name relationship data is empty because event_id not passed from ...
Jinal Gajera's user avatar
0 votes
0 answers
35 views

Cron Task Error ([Errno 13] Permission denied)

I'm trying to run my python script using cron specifically, since that is one requirement for our project. This is the code: * * * * * /mnt/c/Users/username/AppData/Local/Programs/Python/Python312/...
Antony Davie's user avatar
0 votes
0 answers
441 views

nestjs cron runs twice or throwing duplicate job name running

I had @Cron() working before but now I'm trying to add the usage of environment variable instead of giving it a static time. I have read quite a few posts such as https://docs.nestjs.com/techniques/...
Dora's user avatar
  • 6,920
2 votes
0 answers
64 views

How to recover task function in gocron after server fails and reboots

I am using gocron to implement task scheduling. The following statement add a task to scheduler: job, err := s.Every(5).Seconds().Do(func(){ ... }) The func(){...} is the task function to be executed....
oxyuranus's user avatar
0 votes
2 answers
2k views

How can I ensure a cron task is executed only once in NestJS?

I'm using NestJS. I have a cron task that needs to run every 10 seconds. However, I need to ensure that the second task doesn't start if the first task is still running. In other words, the task ...
Максим's user avatar
0 votes
0 answers
111 views

Node js scheduled tasks are not executed after i restart the server

I'm using the node-schedule library to schedule tasks in my Node.js application. The tasks are scheduled to run at specific times, but I've noticed that they work fine as long as the server remains ...
Ghost's user avatar
  • 326
0 votes
0 answers
296 views

Cron Job runs multiple times in Laravel - Production Server

I have a project in Laravel 8 as the backend deployed on EC2 with ubuntu. I have scheduled few functions as cron jobs at specific time. But, the same cron job seems to run multiple times. So i put a ...
aseel's user avatar
  • 463

15 30 50 per page
1
2 3 4 5
40