Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic 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

Related Hot Questions

Government Jobs Opening