In FileMaker Server, edit the schedule which is running that system script. For the System Script User Account, I use:
Without that ".\", I got the same error as you're getting.
As for your other question...take a peek at the following link. It may help you with what you're after.
Thanks, but that also did not work. Any other suggestions?
Just checking...I'm using Windows 2012 for my FMS, and "Administrator" is a valid account. Have you tried the string with a valid account name for the Mini? Also, can you attach a screen shot of the schedule details? Click on the schedule and attach a shot of the Details for that script.
In the last line, Schedule Enabled, the schedule is Disabled. I assume that's just because you disabled it since it isn't working for you yet.
The System script user account isn't shown, so I assume that you're using the default fmserver account. You say: ".sh file in my Scripts folder (in FileMaker Server/Data/Scripts) that basically tells a php file in the Documents folder to run". You may need to adjust permissions on that file in the documents folder. From FMI:
"If you choose the fmserver user account, you may need to modify file permissions for the script. Your script is executed with the fmserver user ID and fmsadmin group ID, so your script file must have read and execute permissions for the fmsadmin group. Therefore, if you choose the fmserver user account, you cannot call some privileged commands from your scripts. For example, your script does not have access to the /etc folder."
Just something to check.
I figured it out. It turned out the file in the Scripts folder was somehow corrupted. I created a new .sh file and it now works!