-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scheduled test is not running at the correct, scheduled time #649
Comments
Double check your time zone as the default is UTC. Also improvements will be made in connection with #194 |
Configure TZ env variable in docker-compose and also the localtime volume mapping: version: '3.3'
services:
speedtest-tracker:
image: ghcr.io/alexjustesen/speedtest-tracker:v0.5.0
container_name: speedtest-tracker
restart: unless-stopped
ports:
- 8008:443
environment:
TZ: Europe/Rome
PUID: 1000
PGID: 1000
DB_CONNECTION: mysql
DB_HOST: mariadb.axel.dom
DB_PORT: 3306
DB_DATABASE: speedtest_tracker
DB_USERNAME: xxxxxxxxxx
DB_PASSWORD: **********
volumes:
- /etc/localtime:/etc/localtime:ro
- $PWD/config:/config
- $PWD/certs:/etc/ssl/web |
Binding /etc/localtime fixed it, I already had TZ: America/Los_Angeles - I believe it was actually running at 5AM PST but displaying 22:00. Adding the /etc/localtime bind seems to have updated the time on the tests to be 5AM Thanks! |
@alexjustesen this should be added to the docs, it's one of the most common issues. |
Yeah that's a good call, I'm opening the issue again until a PR is open or docs updated. |
PR submitted: alexjustesen/speedtest-tracker-docs#14 |
I’m trying to figure the code for running scheduled test on the half hour? Is that possible? I brought back to like an old Mac and built a second server with docker installed. I also have this running on my nas which is testing on the hour. I don’t really want them running at the same time. I’m trying to compare speeds. The speeds on the nas are inconsistent at best. |
ST supports crontab expressions. Under the expression field, it says: "You can also use the cron expression generator HERE to help you make schedules." Did you try to use the linked crontab expression generator or at least google it? |
I tried that same formula on the expression generator put didn't get it to work. I assume it would yield results on the web page but I guess I was wrong. I placed it in the actual test page an it took, no errors. Thanks |
Still not working for me, obviously I'm doing something wrong. After entering I press enter and nothing happens? Tried tab also. |

Crazy
… On Jul 6, 2023, at 9:03 AM, Alessandro Del Prete ***@***.***> wrote:
You don't have to click return or anything...just type...it's dynamic, here's an animated gif so you see what I'm doing:
<https://user-images.githubusercontent.com/7027842/251458166-68fc6c7b-37f5-4735-aae3-f959238b712a.png>
—
Reply to this email directly, view it on GitHub <#649 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATN5WTJVI5YHJQV2NNSXK7DXO2ZSRANCNFSM6AAAAAAZY4A55A>.
You are receiving this because you commented.
|
I don't see anything in your post. If it doesn't work, change browser. What browser are you using? What OS? Or maybe you're using some fancy browser security plugin that blocks javascript etc. |
I tried to send you a screenshot. It must be browser related, using Safari. Thanks for your help. I entered formula and it working in speedtest.
… On Jul 5, 2023, at 10:13 PM, Alessandro Del Prete ***@***.***> wrote:
I’m trying to figure the code for running scheduled test on the half hour? Is that possible?
ST supports crontab expressions. Under the expression field, it says: "You can also use the cron expression generator HERE <https://crontab.cronhub.io/> to help you make schedules."
Did you try to use the linked crontab expression generator or at least google it?
<https://user-images.githubusercontent.com/7027842/251323313-9be236bc-ba98-4140-9bc8-9db468c47191.png>
—
Reply to this email directly, view it on GitHub <#649 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATN5WTOUYRIM54ZE6MUQ2SDXOYNLTANCNFSM6AAAAAAZY4A55A>.
You are receiving this because you commented.
|
In general settings, I have
0 5 * * *
as my scheduled speed test, which should be every day at 5 AM. However, it is running the speed test every day at 22:00, which is 10 PM. I don't believe it's a timezone issue because when I manually run a test, the shown last run time is correct.The text was updated successfully, but these errors were encountered: