Refining bash script

Employer
[no-member:pro]Aleksey[/no-member:pro]
Project parameters
Type of cooperationPeriodic employment
SectionSoftware development
Prepaymentprepayment is possible
Payment methodsBank transfer, Electronic money
Acceptance of requestsfrom Sep 16, 2019 until Oct 1, 2019
Project description
There's a bash script in the attachment.
The script cyclically executes a command to move files from one directory to another. Moves under the condition that if the number of files in another directory does not exceed a certain number, then move, if it exceeds, then wait 10 seconds and check the condition again.
By the way, for understanding in another directory, another program by its algorithm periodically deletes the files that fall into it. But that has nothing to do with this task.
Task. The script needs to be supplemented with a condition. Time variables are entered with accuracy to the minute. The variable will be written e.g. in 19.15 21.20 format.
That's the condition. If the current time on the server where the script is running is more variable 1 (in our example 19.15) but less variable 2 (in our example 21.20) then the above cycle should start working, if not, then wait 5 minutes and check again.
Periodically, tasks that require knowledge of Linux, bash, php arise.
I would like to work with a specialist in the long run.
The script cyclically executes a command to move files from one directory to another. Moves under the condition that if the number of files in another directory does not exceed a certain number, then move, if it exceeds, then wait 10 seconds and check the condition again.
By the way, for understanding in another directory, another program by its algorithm periodically deletes the files that fall into it. But that has nothing to do with this task.
Task. The script needs to be supplemented with a condition. Time variables are entered with accuracy to the minute. The variable will be written e.g. in 19.15 21.20 format.
That's the condition. If the current time on the server where the script is running is more variable 1 (in our example 19.15) but less variable 2 (in our example 21.20) then the above cycle should start working, if not, then wait 5 minutes and check again.
Periodically, tasks that require knowledge of Linux, bash, php arise.
I would like to work with a specialist in the long run.
Project tags