[QUOTE=yusufs;3007393]I want to have a cron which should run every hour.. and another cron to run within the next 30 secs after the first cron is executed.. how to have this ?
configure your crontab entry as
Code:
/some/dir/script1.sh && sleep 30 && /some/dir/script2.sh
the shell evaluates left-to-right to determine the result of the whole expression. If script1 exits non-zero, it won't do the sleep or scrip2.
-c