- This topic is empty.
-
AuthorPosts
-
-
November 29, 2005 at 11:32 am #9376kyjamilMember
is there any way to send mail as well, in the end of syc of two remote DB
192.168.0.1 root 3306 NEW_DB localhost root 3306 TESTDB my XML file is like above so where i put the notification block so it could work propely
Cheers
Yasar
-
November 29, 2005 at 12:32 pm #19888peterlaursenParticipant
To my personal surprise it does not seem to be there!
I thought it was there … but one of the TODO's that never got finished I guess!
putting this in the XML-file
QUOTE…mail-parameters here
before the tag has no effect.
You can execute a
and a from a batchfile And BTW: You are using SJA 4.0. It is an old version! Current is 4.2.
Is it Windows or Linux version you are using ?
-
November 29, 2005 at 12:59 pm #19889kyjamilMember
and really thanks for your reply.
I m using SJA 5.0 — using it in Linux So now can u explain how would i run the batch job in linux..
using RH 8.0
-
November 29, 2005 at 1:47 pm #19890peterlaursenParticipant
There are more ways. ther always are with Linux!
I use SUSE 10 but I dont think it makes big difference.
I suppose the standard command interpreter on RH is the 'bash' program as well? Then it should be quite straight.
Do you just want to start start the batch from console or schedule it? But in any case
First simply build the batch file with the two lines needed from a texeditor (Kwrite, Kate etc.). Save it. Any name will do. Linux has no conventions in that respect. I just tested with a file named “Tekstfil”
Now be sure to have privileges needed – especially execute privilige to the file(s) and write privilege to the directory where the SJA must write. Configure that from GNOME or KDE or execute 'CHMOD' command(s) from shell.
Now open a command shell in the directory where the batch file is and type ./Tekstfil or what ever you named it.
To schedule it you must use the CRON program. Type 'man cron' and 'man crontab' from shell to display man pages. But probably RH8 has a graphical Interface for managing cron as well and a user guide that is more reader-friendly than the man pages.
-
-
AuthorPosts
- You must be logged in to reply to this topic.