19,684 questions
-1
votes
1
answer
113
views
Cron expression to call bat file with parameter failing
I have the following BAT file that takes two params; HOST, and REPORT_NAME. I want to call it from Cronical.
@echo off
setlocal enabledelayedexpansion
REM ===== 1. Read parameters =====
set "...
1
vote
1
answer
59
views
CodeIgniter cron endpoints: best practice for daily scheduled execution, date-window processing, and token-gated stage 2
I’m working on a CodeIgniter (PHP) app with a 2-stage batch process:
Cron 1 (syncAndPrepareQRTokens)
sync eligible members to member_benefits
generate qr_code_token
Cron 2 (execute)
generate PDF + ...
-1
votes
1
answer
61
views
Running node JS file directly is successful but through cron - failure - Error [ERR_REQUIRE_ESM]
When I run a .js file directly, it is successful, but through cron it fails with an error about a package that I didn't even know was installed. Why are the results different?
adrian@nfp:~$ node ...
0
votes
0
answers
55
views
Node.js zombie process keeps port bound after hot reload with Bree worker threads
Node.js hot reload leaves zombie process holding port (nodemon / node --watch)
Environment:
Node.js v24.11.1
TypeScript with 'tsx'
Express 5
Bree (worker threads for cron jobs)
Redis, SQLite (...
2
votes
1
answer
79
views
shebang: run unbuffered python as other user for real-time output redirection
TL;DR
I just want to run arbitrary shell commands with a static service user and see their output on the shell but also capture it for later use, i.e. send it by e-mail, and observe redirected output ...
1
vote
1
answer
165
views
GitHub Actions scheduled workflow (cron) not triggering, but works with workflow_dispatch
I have a GitHub Actions workflow that is supposed to run automatically on a schedule using cron, but it is not triggering at all. However, when I manually trigger the same workflow using ...
0
votes
1
answer
98
views
cronjob not firing, older version of ruby invoked
A rails application running version 3.3.0 and has in its gem file:
ruby "3.3.0"
gem 'whenever', '~> 1.1', '>= 1.1.2'
which has generated the following cronjob, edited to run in ...
0
votes
0
answers
37
views
ngx cron editor not patching value on edit mode in angular12
I am using Angular 12 with the package [email protected]. The cron editor renders correctly, but when I try to patch an existing cron expression into my reactive form, the UI of the cron editor ...
4
votes
1
answer
246
views
Problem with cron setting in Laravel 12 that is not working
I have a Laravel 12.39 project (on PHP 8.3) on a shared hosting with cPanel access, and in the cron section, I have the following setting to run artisan schedule:run, but it isn't working. This was an ...
0
votes
0
answers
42
views
Endpoint fails when trigger automatically by cron job but succeeds when cron job is triggered manually
I have a serverless function running on Nextjs, hosted on Vercel.
The database is hosted on Heroku. I use EasyCron as a provider for the cron jobs.
Recently, there was an upgrade on the database and ...
2
votes
1
answer
114
views
How can I capture the output of a subprocess (deno) called from a bash script when run by CRON?
I have a bash script that turns off stdout and stderr when not run interactively (i.e. run from CRON).
if [[ ! -t 0 && ! -t 1 ]]; then
#echo "The script is not called ...
2
votes
1
answer
59
views
Azure Function app Cron scheduler - missing runs
My function app is a timer triggered app and uses this cron expression for scheduling. 10 */6 * * * On most days it runs fine, but looking at the trace logs in Application insights it does not run for ...
0
votes
1
answer
108
views
Sidekiq cron job runs multiple times only on the 15th of each month (same schedule works fine on the 1st)
Sidekiq cron job runs multiple times only on the 15th of each month (same schedule works fine on the 1st)
My config/sidekiq.yml, I am using the built-in Sidekiq scheduler.
:concurrency: 5
:queues:
- ...
0
votes
1
answer
111
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 ...
2
votes
1
answer
109
views
html part of message is ignored when sending an e-mail with attachment using mail() in cron job
I'am sending an e-mail via cron job. The attachment works and is added to the e-mail message. However the html part that is referenced with $body2 does not come through.
The code looks like follows:
$...