Unable to run NetScan using task scheduler

Started by Tom Ryans

Re: Unable to run NetScan using task scheduler   09 February 2016, 21:45

Hi,

Sorry for my late reply, i was not in my office last week. I attached the requested log file. But now it works fine with the latest version ( 6.1.1 ). So it's ok for me.

However I have a new problem with this version... With this command:
F:\NetScan\netscan.exe /hide /config:F:\NetScan\BEETA\ScanBEETA.xml /auto:"F:\NetScan\BEETA\BEETA_Scan_date_%dd%-%mm%-%yyyy%_time_%hh%-%nn%.htm"
I got this result:
BEETA_Scan_date__time_.htm

The date and time do not appear. Maybe you know why?

Thanks for your help Andrew!
Attachments:
open | download – netscan.zip (293 bytes)
SoftPerfect Support forum - Andrew avatar image

Re: Unable to run NetScan using task scheduler   09 February 2016, 21:58

Probably your script scheduler thinks those are environment variables and strips them out. Perhaps extra escaping can help:
"F:\BEETA_Scan_date_^%dd^%-^%mm^%-^%yyyy^%_time_^%hh^%-^%nn^%.htm"
or
^"F:\BEETA_Scan_date_^%dd^%-^%mm^%-^%yyyy^%_time_^%hh^%-^%nn^%.htm^"

Re: Unable to run NetScan using task scheduler   09 February 2016, 23:51

Same problem with extra escaping in the .bat script but it works great without extra escaping in .sp1 powershell script.

Finally it's perfect! Thank you very much for your help Andrew!

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 ********   ******     ******   ********   ******   
 **        **    **   **    **  **        **    **  
 **        **         **        **        **        
 ******    **   ****  **        ******    **   **** 
 **        **    **   **        **        **    **  
 **        **    **   **    **  **        **    **  
 **         ******     ******   **         ******   

Message: