From f60bfbbb693b9c6569155e0d5b9605fe91d5c356 Mon Sep 17 00:00:00 2001 From: Nuno Miguel Reis Date: Mon, 29 Jul 2013 17:22:21 +0000 Subject: [PATCH] changed batch to at (it simply works like this) --- secure/fax_to_email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secure/fax_to_email.php b/secure/fax_to_email.php index 5ba228eab3..d887bd2634 100644 --- a/secure/fax_to_email.php +++ b/secure/fax_to_email.php @@ -345,7 +345,7 @@ if (defined('STDIN')) { fclose($fp); $tmp_response = exec("chmod 777 ".$_SESSION['server']['temp']['dir']."/failed_fax_emails.sh"); // note we use batch in order to execute when system load is low. Alternatively this could be replaced with AT. - $tmp_response = exec("batch -f ".$_SESSION['server']['temp']['dir']."/failed_fax_emails.sh now + 3 minutes"); + $tmp_response = exec("at -f ".$_SESSION['server']['temp']['dir']."/failed_fax_emails.sh now + 3 minutes"); } } }