I wish to create a shell script which will create files at the specific point of time in a day.
Example case. once the shell script is executed, at a particular time of the day files should be created in /tmp/work/ directory.
when the time is 01:00 Hrs, abc.txt should be created.
when the time is 06:00 Hrs, def.txt should be created.
when the time is 13:00 Hrs, hij.txt should be created.
when the time is 23:00 Hrs, xyz.txt should be created.
All files should have some content as "THIS IS TEST FILE." to make file size more than 0 bytes.
Is it possible to execute below at that point of time?
echo "THIS IS TEST FILE." > /tmp/work/abc.txt ## at 01:00 Hrs
echo "THIS IS TEST FILE." > /tmp/work/def.txt ## at 06:00 Hrs
so on...