Ask a Question
Advertise on boostr.in
boostr.in 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?
Sep 13, 2013
Java Interview Questions
Sep 12, 2013
to add a comment.
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please