What is the most convenient way of setting a crontab command to run every 59th second, other than running a sleep 59 in the beginning of my script?
If there are no other suggestions, will executing sleep 59 delay all my other cron entries scheduled for execution wait until the sleeping one completes?
Update Why do I need it at all? I've written a small script to find out who has logged on the system during the last minute, it looks like this:
who | grep `date +%R` | awk '{ print $1 " joins us." }' | write $USER
In order for it to work and not to get matters complicated, I need it to run in the end of the minute.