I am in the process of making a web-based mail autoresponder for a network with more than 400 users. Since it is a security risk to run the actual server as a root, I decided to submit the requests to a specific folder, and have a cron running every 5 minutes or so to execute the requests. The problem I am having is with the actual script that is ran by cron. The script has to send an at command from the user, requesting the service, which would activate the vacation program sometime in the future for that user, and then pipe the output of the at command back to get the job number for future reference.
I am not sure how I would accomplish this task. I have played around with the $> and the $< but i have not had any success actually sending a specific command from a different user.
if anyone has a suggestion, it would be very appreciated!!! Thanks
-vit
I am not sure how I would accomplish this task. I have played around with the $> and the $< but i have not had any success actually sending a specific command from a different user.
if anyone has a suggestion, it would be very appreciated!!! Thanks
-vit