Run minimized or hidden PHP script by Task Scheduler

3

I have a task scheduled on windows running perfectly ), where it runs a PHP script:

Scheduler :

email.php:

<?phprequire_once'classes/core.class.php';set_time_limit(120);$tempo1=microtime(true);$core=newEmail();$core->enviaEmails();$tempo2=microtime(true);echo'<br>tempo:'.$tempo2-$tempo1;?>

Theproblemis,allthetimethecmdwindowappears,runsthescript,finishesandcloses.Asthistaskrunsseveraltimesinashortperiod,itgetsinthewaywhenworkingonothertools.

IwouldliketoknowhowdoI"hide" this window, or at least start it minimized?

    
asked by anonymous 12.07.2018 / 14:46

1 answer

3

As reported on next topic , just use the running user as SYSTEM or SISTEMA (depending on the language of the operating system).

Anothersolution,presentedinthetopiclinkedabove,andalsobythecommentof

).

    
12.07.2018 / 18:07