On Thu, 25 Apr 2002, Reidar Nordin wrote:
Hi, and thanks!!
No I dont have cron privileges, I only have a user account (ftp, Telnet)..
1) I only want the reply to be sent back to the "user" who sends a message to
office(_at_)mydomain(_dot_)com, not if he sends a message to
backoffice(_at_)mydomain(_dot_)com or
reidar(_at_)mydomain(_dot_)com and so on. Not to replay to _ALL_ the messages!
All; I mean all the messages you need replay to ...
2) My "problem" is that I want to send the autoreply at specfic times, (after
office hours), and I want it to be done automatically, without having to use
telnet and removing the .procmailrc file. I want the auto reply to be
"activated"
at 16.00 hours and "removed" at 09.00 hours, monday to friday and "activated"
24
hours a day during saturday to sunday.
OK, you do not need cron - use at(1) command:
1> in the script /some/where/replay:
for i in 16 17 18 19 20 21 22 23 0 1 2 3 4 5 6 7; do
DO SOMETHINGS ....
DO SOMETHINGS ....
DO SOMETHINGS ....
sleep 3600
done
at 1601 < /some/where/replay
2> To start enter the at(1) command:
at 1701 < /some/where/replay
The output of the at(1) (just in case..) will be found in you mail.
To see that your job is on the way: atq(1) or at -l
Bye,
Udi
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail