On 21.01.10,06:14, E. Prom wrote: > Hi again, > > How would you make mutt send a message at a certain hour? This can be > useful : make your boss believe you were working late whereas you left > your office just after him, make sure someone receives your e-mail > when you know he'll be receptive and not when you write it because he > is very busy at this time, etc. > > I tried this : > > sleep 2m; echo ""|mutt -s subject -i message_file -x per...@domain > > It works fine, seems to apply all the conf, except one thing : it does > not sign the e-mail. Even adding -e "set crypt_autosign" to the > command line does not help. There's indeed the passphrase problem, but > gpg-agent had not timed out when I was trying, and did not ask for it > using mutt interactively later. > > Any idea? >
You can use the "at" command for this: at 16:00 echo ""|mutt -s subject -i message_file -x per...@domain Ctrl-d - Jostein