File movement based on peak hours ( 10AM - 3PM )

Hi ,

I came across a requirement in writing a script to move files from one location to another location having the number of files limited based on the server time.

For example: In total number of files , I have to move files in below order

00 hours - 6AM 10% of the total number of files
6AM - 10AM 20% of the total number of files
10AM - 7PM 60% of the total number of files
7PM - 00 hours 10% of the total number of files.

Regards,
Sakthi

That is not too much to base a proposal upon. Several questions remain open, e.g.

  • is the number of files varying during the day
  • when should that script run
  • any sequence of files to be followed

Any attempts/ideas/thoughts for a solution from your side?