Hi everyone.
I am currently developping a solution that archives our custom logs and packages from other builds. This solution will also archive FBServer logs.
Of course, the solution cannot archive its own archive since it is currently in use. To bypass that, I decided to use the "Add schedule" action to archive this file at a later time. It is calling %DOSCMD% with params /c [instructions].
Problem #1 : That action doesn't seem to work as I though. It does trigger at the correct time but doesn't seem to do anything at all. I am using the same action to restart the FB build service. Again, doesn't seem to work. (net stop / net start)
Problem #2 : (gossip) I tried using the "Add scheduled task" action. I realized that the password can be seen in clear text on errors, and am guessing on the .fb6 file too.Problem #3 : (gossip) Again with "Add scheduled task" action. If if do not specify any remote credentials, I get an error when running the action that says "-Server is not recognized".Edit Problem #3 : Turns out that error was sitting in front of the screen.
Thank you.
Hi Mayoo
I have had a look at the 'Add Scheduled Task' action and I have been able to successfully use the 'net stop' and 'net start' commands to work via the action using the following within the Command Line parameters (I found that the task will not execute correctly without the /c option):
/c net stop "Service Name"
or
/c net start "Service Name"
Could you please provide more information about the command syntax that use are using to archive the logs, so that I can attempt to reproduce this problem?
Also, I have fixed the issue regarding the password being written to the log in plain text and I can confirm that the password is not being written to the project file in plain text. I will provide you with a new build once we sort out the remaining issues.
Regards,
Steve
Thank you for fixing the password.
As for the "Add scheduled task", it does work correctly, but in my case I am using the "Schedule Add" which is another distinct action. I don't known which one should be used or if one of them is now depreciated. I currently use the "Add scheduled task" but the password-less "Schedule Add" would be more suitable for my needs.
Thank you.
Hi Mayoo
The difference between these two actions is that the 'Schedule Add' action calls DOS AT Scheduler and the 'Add Scheduled Task' action calls Windows task scheduler. If you refer to the help file for the 'Schedule Add' action you will notice that it is recommended that you use Windows Task Scheduler actions unless you have a specific reason for using the DOS AT actions.
I will send you a new build which includes the password suppression fix tomorrow.
Thanks,
Steve.
Ok thanks for the info.
I'm looking forward to the new build.
Thanks again !
Hi Mayoo
Here is the build containing the password fix:
https://www.finalbuilder.com/downloa...0_2082.exe
Please let me know if there are anymore issues.
Thanks
Steve
Issue resolve.
Thanks for your help !