i need ur help regarding data Synchronization through ITOp. i have created a object of target class Server and it create a temprory table in database of that class, and then i run synchro_exex.php script through command line it comes with the following error.
Sir i am testing this synchronization on local host..
Sir plz tell me the steps i should follow for successful synchronization as i told u i am a beginner.
Thanx**
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
**Hi All
i need ur help regarding data Synchronization through ITOp. i have created a object of target class Server and it create a temprory table in database of that class, and then i run synchro_exex.php script through command line it comes with the following error.
php -q synchro_exec.php -auth_user=<login> -auth_pwd=<password> -data_sources=<comma_separated_list_of_data_sources>
I have to synchronize External server through Itop.
i am a beginner ,can u people please help me for this.
Thanx
**
Hi
this "error" ist just the "usage" function of synchro_exec.php which means that you missed to give some required options.
You should post your complete commandline (excluding password) to get some help.
php -q synchro_exec.php -auth_user=<login> -auth_pwd=<password> -data_sources=<comma_separated_list_of_data_sources>
**Thanx for the Response sir.
here is the actual command line that i typed.
root@ubuntu:/var/www/web/synchro# php -q synchro_exec.php -auth_login=administrator -auth_pwd=mypassword -data_sources=7
ERROR: Missing argument 'auth_user'
USAGE:
php -q synchro_exec.php -auth_user=<login> -auth_pwd=<password> -data_sources=<comma_separated_list_of_data_sources>
Sir i am testing this synchronization on local host..
Sir plz tell me the steps i should follow for successful synchronization as i told u i am a beginner.
Thanx**
Hi Mitul123
The answer is in the usage explanation
USAGE:
php -q synchro_exec.php -auth_user=<login> -auth_pwd=<password> -data_sources=<comma_separated_list_of_data_sources>
You have to specify -auth_user=…. and not -auth_login
Hope this helps
Erwan
Thank you so much Erwan
That was a silly mistake.
Now it works fine.
I need one More favor..
Now i can i run a cron job for automatic execution of this script after 1 hour.
Thnx
** I need one More favor..
Now how i can run a cron job for automatic execution of this script after 1 hour.
Thnx **