questions - Question:Cross server symlinks and Crontab

I've been tasked with trying to implement the following scenario. What I'd like to know is whether this is feasible/doable?

There will 4+ servers. For ease I'll call them Server A, Server B, Server C, Server D

Server A is the command and control server. It will contain the scripts (PHP) that will get executed by Cron Tab jobs. There will also be an application on Server A that will allow the user to select scripts to run and specify which server they will run on. So that app will create the Cron tab jobs on the specified server.

So far so good - using the SSH2 lib I can create the cron entries on the target servers.

I know that I can use symlinks in a Crontab entry.

Is it possible to create a symlink that points from Server B, Server C or Server D to Server A.

So basically I want Server A to issue/maintain the Cron tab on the other servers, to store all the scripts but the when the other server jobs run, they run the scripts stored on Server A.

Is this possible?

asked Sep 13, 2013 in Java Interview Questions by anonymous
edited Sep 12, 2013
0 votes

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.