executeNextWork

Description: generates a bash script that fetches the next work.php from server