934 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
90
views
playing sound file when bash script is ran by cron task
below is a bash script that works fine tested in my terminal the sound is played but when it is actually ran in a cron scheduled task there is no sound only the dialog is shown
#!/bin/bash
export ...
0
votes
1
answer
83
views
Cron job not working after moving to another hosting
I want to run my custom cron job, and I don’t know why it’s not registered or running.
In the database, I don’t see it registered—there’s no record of it.
In the log files, I don’t see any log ...
0
votes
0
answers
29
views
Issue with cron django
I am trying implementing django crontab into my django project. Everything works fine except logging, in the docker container folder with logging does not exist.
My settings
INSTALLED_APPS = [
'...
0
votes
2
answers
120
views
Expanding variables in crontab PATH doesn't work
I've got the following 3 lines at the top of my crontab (created with crontab -e) on a system where I'm not a superuser:
SHELL=/usr/bin/bash
HOME=/mycluster/home/mygroup/myuser
PATH=$HOME/miniconda3/...
0
votes
1
answer
659
views
Moodle "Cleanup old sessions" CRON task failing
We're running an up-to-date Moodle environment (version 4.5) and the scheduled task "Cleanup old sessions" (\core\task\session_cleanup_task) keeps failing. Specifically, it is the call to:
\...
0
votes
1
answer
80
views
How to trigger Django task at specific date in model field
I have a model that contains the following field
class EventConfig(models.Model):
end_date = models.DateTimeField(blank=True, null=True)
I have celery installed that's sending periodic emails and ...
0
votes
1
answer
136
views
Fail to run scheduled tasks in GitHub Actions - web scrapping to Google Spreadsheets
I want to do the web-scrapping schedule task every day at 11:00pm in the cloud. The process is scrapping to a Google Spreadsheet in my Gmail account. A simple way is to use GitHub Actions. But I fail ...
0
votes
1
answer
1k
views
How to schedule a snowflake task to run multiple times every day on a specified times
I have a snowflake task that i want to execute it 6 time in a day, for everyday. I want to run on below mentioned time
8.30 pm cst
12.30 am cst
3.30 am cst
7.30 am cst
9.30 am cst
12.30 pm cst
Will ...
1
vote
2
answers
93
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-&...
0
votes
1
answer
56
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 < ...
0
votes
0
answers
59
views
Cron Job not running function
I have a node js controller
const calculateInitialStartTime = (
startDate,
frequency,
timeOfDay,
dayOfWeek,
dayOfMonth
) => {
let initialStart = new Date(startDate);
if (timeOfDay) {
...
0
votes
1
answer
371
views
Moodle "Background processing for assignment module" failing due to a missing record
Moodle 4.1.4, MSSQL, PHP 8.1
The scheduled task, \mod_assign\task\cron_task, keeps failing because it is trying to read an assignment that isn't there (I think). The full error message is:
Execute ...
1
vote
0
answers
156
views
How to schedule tasks in multitenant spring app having separate schema for each tenant
I have develop small Spring boot Multi-tenant SAAS application
refer https://github.com/mahaveer3103/multi-tenant-springboot, now i want to schedule some tasks for every tenant like to check password ...
0
votes
2
answers
690
views
Laravel: Scheduled command not getting executed in development environment
I am working on a Laravel project and have created a command with signature 'process:pending-reports'.
When I run this using: php artisan process:pending-reports, it does the needful i.e. the script ...
0
votes
0
answers
88
views
How to resolve `django.core.exceptions.ImproperlyConfigured` error regarding 'BlogProject.urls'?
I'm encountering a django.core.exceptions.ImproperlyConfigured error in my Django project. When I check the cron.log file using tail -f /var/log/cron.log, I see the following error message:
File "...