Quantcast
Channel: 2BrightSparks
Viewing all articles
Browse latest Browse all 9303

Running Syncbackpro job from PHP script

$
0
0
Hello:
I am looking to run a syncbackpro job from within a php script on a web server. the idea being that when a web user clicks a button it will cause a background run of syncbackpro to synchronise data to another site.
I have tried using php exec command. My php looks like this:

exec('"d:\\program files\\2brightsparks\\syncbackpro\\syncbackpro.exe" -n "Sync_Profile"',$output);

but this hangs - i think it hangs because syncbackpro want to open a window.

Does anyone already have this or something similar working from PHP??

any information welcome.
Thank you.

Viewing all articles
Browse latest Browse all 9303

Trending Articles