fetchmail and watch command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What I'm trying to do is enable the watch command to run a prog named fetchmail.run.
The following command string does not work when run in the background (it
works ok from the foreground):

watch -n 30 fetchmail.run > /dev/null &
 
fetchmail.run
if ["`ps --User matias | grep fetchmail`" == ""]; then
/usr/bin/fetchmail -f ~/.fetchmailrc --mda "procmail -f %F" > /dev/null 2>&1; fi

Is there some technique to fix this that's concise and easy to understand?

thx.,
matias.
~
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux