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
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to