Hello All, I need some assistance in the following.
Goal = To write a .procmailrc for a QA person such that whenever there is a mail with subject: " 5.0.0 Build Successful" download starts automatically from a particular location. ( http location is in a different VPN LAN)
what i have done for that user is.
[EMAIL PROTECTED] manishsharma]# cd $HOME; cat .procmailrc PATH=/bin:/usr/bin:/usr/bin :0: * ^Subject:.*5.0.0 .*Build Successful | $HOME/getlatest-500.sh
[EMAIL PROTECTED] manishsharma]# cat getlatest-500.sh
#!bin/bash
cd $HOME/500
PATH=/usr/bin:/bin;
#move existing downloaded file to backup
/bin/mv manual-install.zip manual-install.zip.`date '+%b%d-%H-%M-%S-%Y'`
#start fresh download for current build
/usr/bin/wget -c http://enterprise/cruise2/artifacts/5.0.0/latest-success/manual-install.zip &
exit
#####script ends#######
Mail gets delivered fine to user & wget starts successfully whenever such subjected email arrives, but problem is when i do 'ps -ef' it shows me "procmail <defunt>"
And when i do mailq one mail still shown in queue to get delivered to that user why?
Can someone point any ideas.
Regards, Yash
_______________________________________________ ilugd mailinglist -- [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[email protected]/
