Defined 2 new functions - logfile and logdir

The other cron tasks will use the same functions
All the separate cron-jobs collected in this one file ...

cron.sh should be the only file sourced in a crontab.
After that, every cron-task is defined in a function
Merge pull request #530 from abhinavc/master

All cron-tasks defined in this one file