19,536 questions
0
votes
0
answers
29
views
How to use Paylaod CMS Jobs Queue
I am new to Paylaod CMS & trying to use Jobs Queue, just trying to send email every minute and testing on local machine.
Here is my payload.config.ts:
export default buildConfig({
jobs: ...
0
votes
0
answers
35
views
Daily cron job only start every other day
I have a script registered in cron.tab by:
0 0 * * * /share/homes/check.sh
to start daily at midnight. The script has a self-terminating function to automatically stop the following day:
today=$(date ...
1
vote
2
answers
65
views
Date returns the same value across multiple requests when deployed to Vercel (Next.js Route Handler)
I'm using a Next.js App Router API route (app/api/notify/route.ts) to check the current time (in Brazil timezone) and trigger notifications when a scheduled time is reached.
This works locally, but ...
0
votes
1
answer
52
views
Azure Container App Job CRON expression for 12 AM–8 AM and 5 PM–11:59 PM in a single schedule
I'm trying to configure a scheduled job in Azure Container Apps (using Terraform) that runs every 10 minutes during two specific time windows:
From 12:00 AM to 7:59 AM (0–7 hours)
From 5:00 PM to 11:...
1
vote
2
answers
64
views
How to check if a Cron job is running on macOS
I have a cron job running in Django every minute that gets a random stock ticker from the S&P 500 and updates the user interface of my application. When I run python manage.py runcrons, the job ...
0
votes
0
answers
21
views
Testing cron jobs in vercel
I'm creating a cron job for my NextJs application, and I cannot seem to find how can I test it for my dev deployment.
Some docs say that cron are triggered only for production enviornment while some ...
0
votes
1
answer
53
views
increasing number of goroutines when using go-co-op/gocron
I'm trying to create some cron tasks to test out the https://github.com/go-co-op/gocron library. I'm exploring the singleton mode where if the same instance of a task is being executed, then it's ...
0
votes
1
answer
43
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
1
answer
27
views
Python Script will not run in crontab -e and script has errors Missing X server or $DISPLAY
I have a Raspberry Pi 4 that I use at different locations to run a digital display. I use this script to run at reboot so that I don't have to determine the IP address each time and just start ...
0
votes
1
answer
183
views
Duplicate Notifications with Appwrite and FCM on Flutter
Description
I'm using an Appwrite function triggered by a cron job to schedule daily notifications via FCM. While notifications are sent at the correct time, I'm occasionally receiving duplicate ...
0
votes
0
answers
25
views
How to rotate some logs more frequently on ubuntu?
On ubuntu 20 and 22, logrotate is run via systemctl:
# systemctl cat logrotate.service
[Service]
Type=oneshot
ExecStart=/usr/sbin/logrotate /etc/logrotate.conf
and it runs daily:
# systemctl cat ...
0
votes
0
answers
10
views
Kubernetes Cronjob and SMTP
Situation:
I have a php-apache web browser in a Kubernetes namespace that is controlled by an Ingress. The ingress exposes the web browser to the public IP within the organization, so its intranet and ...
1
vote
0
answers
28
views
Send AWS SES Templated Emails with Dynamic React Content in Next.js (Using Cron Jobs)?
I'm currently using Cron from next-schedule to send templated emails at specific times via AWS SES, and while this setup works, I’m looking for a cleaner and more maintainable way to manage these ...
1
vote
1
answer
52
views
Laravel 11 Crontab configuration with O2Switch server
I'm trying to set up the Laravel 11 scheduler on my O2Switch hosting.
Here's the line declared in my crontab.
* * * * * cd link_to_project && php artisan schedule:run >> /dev/null 2>&...
2
votes
0
answers
67
views
Why are there output differences when running Python code from cron?
I have some code which report status of a Pi using inxi. It runs fine from a terminal, but when it runs from cron it adds some characters and misses others.
This is the code:
#!/home/pi/.venv/bin/...