MAC Batch file commands

Discuss new features and functions
Posts: 4
Joined: 21 Aug 2024

francus

Hello friends,

I am trying to set up a single command to start:
1 a job for FFS
2 a second consecutive job for FFS
3 a command to unmount the external drives.

I tested using "On completion" and creating a batch file, but only the command to unmount external drives works.

When I try to put into my batch file the command to start the .ffs_batch either by ./ or sh, instead of running FFS, it tries to run the single lines of .ffs_batch as if they were commands and of course does not finds them.

Also I would like to get some return confirming success of each of the steps.

In the manual, regarding batch files, there are some instruction for Windows, but nothing for Mac or Linux.

Any idea?
Best
User avatar
Posts: 4055
Joined: 11 Jun 2019

xCSxXenon

For your 'on-completion' command, are you passing the .ffs_batch file itself? If so, don't do that. You need to have the command run the FFS executable with the .ffs_batch file as a parameter
Posts: 4
Joined: 21 Aug 2024

francus

Many thanks for your answer @xCSxXenon.

With your suggestion, now it works perfectly.
User avatar
Posts: 4055
Joined: 11 Jun 2019

xCSxXenon

Woohoo, glad it's working