I am having trouble piping the output of the "at" command to my program.
it seems that it would work just like any function, but for some reason it does not output the info to STDOUT.
ie.
this works well..
##################
open(ATQ, "atq|");
while(<ATQ>)
{
print $_;
}...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.