i have a folder in a server say xxx.xx.xx.xx\abcd\efgh. i want to make a cron job entry so that i would get a mail (me@example.com) on business days. will this help me...
30 4 * * 1-5 cd \abcd\efgh|ls-ltr|mailx:me@example.comhttp://linux.unix.com/images/editor/code.png
i will try that too. but instead of writing that in .sh file running, why i can't i just put those cd thing in last segment of crontab entry...need ur valuble suggestion.Thanks!!
Thanks a lot bro ... that would definetly help me..
---------- Post updated at 06:45 AM ---------- Previous update was at 06:35 AM ----------
Hi Frnds.
i have files created daily in that folder. so it will have hundreds of files.how to get the list of files that are created on that date.i mean for today i should receive a mail with the list of files along with the size created today(2/26/2013)