[GH-ISSUE #72] timeout: invalid time interval `5.0m' #28

Closed
opened 2026-03-12 19:01:15 +03:00 by kerem · 2 comments
Owner

Originally created by @JimiZhou on GitHub (Jul 18, 2025).
Original GitHub issue: https://github.com/007revad/Video_Station_for_DSM_722/issues/72

ash-4.4# timeout 5.0m ls
timeout: invalid time interval `5.0m'
Try `timeout --help' for more information.

ash-4.4# timeout 5m ls
CHANGES.txt  how_to_run_from_scheduler.md  images  LICENSE  my-other-scripts.md  README.md  syno_account_sign_in.md  videostation_for_722.sh

On my SA6400 build DSM 7.2.2-72806 Update 3, somehow the timeout command doesn't take time interval 5.0m in the script. I have to change it to 5m and get the script working.

Originally created by @JimiZhou on GitHub (Jul 18, 2025). Original GitHub issue: https://github.com/007revad/Video_Station_for_DSM_722/issues/72 ``` ash-4.4# timeout 5.0m ls timeout: invalid time interval `5.0m' Try `timeout --help' for more information. ash-4.4# timeout 5m ls CHANGES.txt how_to_run_from_scheduler.md images LICENSE my-other-scripts.md README.md syno_account_sign_in.md videostation_for_722.sh ``` On my SA6400 build DSM 7.2.2-72806 Update 3, somehow the `timeout` command doesn't take time interval `5.0m` in the script. I have to change it to `5m` and get the script working.
kerem closed this issue 2026-03-12 19:01:20 +03:00
Author
Owner

@007revad commented on GitHub (Jul 26, 2025):

I just checked in shellcheck and it said both timeout 5.0m and timeout 5m are valid. I'll change it to timeout 5m.

<!-- gh-comment-id:3121377969 --> @007revad commented on GitHub (Jul 26, 2025): I just checked in shellcheck and it said both `timeout 5.0m` and `timeout 5m` are valid. I'll change it to `timeout 5m`.
Author
Owner

@007revad commented on GitHub (Jul 26, 2025):

Thanks @JimiZhou

I changed the timeout in v1.3.18

I also changed it in Synology_app_mover and VideoStation_for_722

<!-- gh-comment-id:3121417527 --> @007revad commented on GitHub (Jul 26, 2025): Thanks @JimiZhou I changed the timeout in [v1.3.18](https://github.com/007revad/Video_Station_for_DSM_722/releases/tag/v1.3.18) I also changed it in [Synology_app_mover](https://github.com/007revad/Synology_app_mover) and [VideoStation_for_722](https://github.com/007revad/Video_Station_for_DSM_722)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Video_Station_for_DSM_722#28
No description provided.