-
-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
During the build of the image there are two crontab files added to run a command every minute. The crontabs are present in the directory.
root@8401f360c3e5:/etc/crontabs# cat abc
# min hour day month weekday command
* * * * * /usr/bin/php /app/www/artisan schedule:run -q
root@8401f360c3e5:/etc/crontabs# cat root
# do daily/weekly/monthly maintenance
# min hour day month weekday command
*/15 * * * * run-parts /etc/periodic/15min
0 * * * * run-parts /etc/periodic/hourly
0 2 * * * run-parts /etc/periodic/daily
0 3 * * 6 run-parts /etc/periodic/weekly
0 5 1 * * run-parts /etc/periodic/monthly
But I don't see the /usr/bin/php /app/www/artisan schedule:run -q in the crontab list of the container when running. I would expect it there.
root@8401f360c3e5:/etc/crontabs# crontab -l
# do daily/weekly/monthly maintenance
# min hour day month weekday command
*/15 * * * * run-parts /etc/periodic/15min
0 * * * * run-parts /etc/periodic/hourly
0 2 * * * run-parts /etc/periodic/daily
0 3 * * 6 run-parts /etc/periodic/weekly
0 5 1 * * run-parts /etc/periodic/monthly
Expected Behavior
I would expect the abc crontab to show up as well in the crontab list.
Steps To Reproduce
- Check the crontab with
crontab -l
Environment
- OS: Raspberry Pi OS
- How docker service was installed: APTCPU architecture
arm64
Docker creation
services:
speedtest-tracker:
image: lscr.io/linuxserver/speedtest-tracker:1.2.0
container_name: speedtest-tracker
restart: unless-stopped
environment:
TZ: Europe/Amsterdam
APP_DEBUG: true
APP_TIMEZONE: Europe/Amsterdam
APP_KEY: ${APP_KEY}
APP_URL: ${APP_URL}
DISPLAY_TIMEZONE: Europe/Amsterdam
DB_CONNECTION: sqlite
SPEEDTEST_SCHEDULE: "6 * * * *" # Run an test every hours on minute 6; 00:06, 01:06 etc
SPEEDTEST_SERVERS: 52365 # Use the Odido Ookla Speedtest server
PRUNE_RESULTS_OLDER_THAN: 0 # Don't remove old results
DATETIME_FORMAT: "j M Y, G:i:s" # Use "9 Jan 2025, 11:06:00" as date format for the results table
CHART_DATETIME_FORMAT: "j/m G:i" # Use "8/01 12:06" as date format for the charts.
CHART_BEGIN_AT_ZERO: false
networks:
- tailscale
volumes:
- speedtest-tracker:/config
labels:
tsdproxy.enable: "true"
tsdproxy.container_port: 80
volumes:
speedtest-tracker:
name: speedtest-tracker
networks:
tailscale:
name: tailscaleContainer logs
To support the app dev(s) visit:
speedtest-tracker: https://github.com/sponsors/alexjustesen
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 911
User GID: 911
───────────────────────────────────────
Linuxserver.io version: v1.2.0-ls73
Build-date: 2025-01-18T16:14:31+00:00
───────────────────────────────────────
using keys found in /config/keys
**** The following active confs have different version dates than the samples that are shipped. ****
**** This may be due to user customization or an update to the samples. ****
**** You should compare the following files to the samples in the same folder and update them. ****
**** Use the link at the top of the file to view the changelog. ****
┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
│ old date │ new date │ path │
├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
│ 2023-08-13 │ 2024-12-06 │ /config/nginx/ssl.conf │
│ 2024-05-27 │ 2024-12-17 │ /config/nginx/nginx.conf │
└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
[custom-init] No custom files found, skipping...
[ls.io-init] done.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done