Error running "before" script

No more questions - please go to http://www.syncovery.com/forum instead

Moderator: SuperFlexible Administrators

Error running "before" script

Postby bid on Wed Sep 27, 2017 3:52 am

Dears,
I'm new with the software super flexible file Synchronizer.

I have do a monitoring folder, with monitoring/real time synch.

My process is:
1. I receive a file .gz
2. Before moving file to destination I would like to unzip the .gz
3. Moving the files not .gz to destination

I unzip the .gz file with 7-zip, excuting a before command line in Andvanced Settings -> Job -> execute command -> before.

The all process work, but in the field "Last Result" I receive always this error "Error running "before" script".

It's maybe because when I have any file in the folder the before command script try to do something?

It's the correct way other there is other solution with this software?

Thank you so much for your help.

Regards,
bid
 
Posts: 1
Joined: Wed Sep 27, 2017 3:17 am

Re: Error running "before" script

Postby superflexible on Wed Sep 27, 2017 4:39 am

You need to use a .bat file to invoke 7zip and add the following line at the end:

EXIT /B 0
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm


Return to Windows Support * new forum: www.syncovery.com/forum

cron