title: Getting username while cron job is invoked
body: <p>As root, I can add user specific cron job by <code>crontab -u user1 -e</code> . There I can mention a shell script say <code>runbackup.sh</code> to get executed.</p>
  
  <p>Since <code>runbackup.sh</code> script is used for many users, the script need to know the username (here <code>user1</code>) to do some user specific actions. </p>
  
  <p>How the runbackup.sh could get the username when cron job invokes it?</p>
  
  <p>Thanks,</p>