1

How to run a command within a time duration per min/sec?

view story
linux-howto

http://askubuntu.com – I want to run a command/shell script say script.sh from 1AM to 2AM per minute. After observing that crontab can't work it out 'per sec' I had to go with 'per min'. Basically, My server.sh file takes backup of my database on server. This is done by three text files with names of tables in it, hence creating three backup archives. These backup archives are named like 'prefixYYYYmmdd', where prefix = heavy/light/weekly according to the backup type. Now I want to copy these particular files after they are stored on server. Suppose the backup on server took 15 min. Now I should run the copy scrip (HowTos)