we need to create a .sh file ( bash file ) which will be called by cronjob for every minute
in .sh bash file sleep command will be used for time interval i.e. for every 5 seconds.
example :
smartetouch.sh :
(sleep 5 && php /smartetouch/job.php) & (sleep 10 && php /smartetouch/job.php) & (sleep 15 && php /smartetouch/job.php) & (sleep 20 && php /smartetouch/job.php) & (sleep 25 && php /smartetouch/job.php) & (sleep 30 && php /smartetouch/job.php) & (sleep 35 && php /smartetouch/job.php) & (sleep 40 && php /smartetouch/job.php) & (sleep 45 && php /smartetouch/job.php) & (sleep 50 && php /smartetouch/job.php)
and for cron use
# cronjob -e ( for editing cron job )
add last line :
* * * * * bash /smartetouch/smartetouch.sh
and it is done.