Navigation
- FAQ Home
- All categories
- About Webyog support and about this FAQ
- About the SQLyog program

- Connection issues

- Using the GUI
- Managing your MySQL Database Systems

- Database Schema Synchronization
- MySQL DATA synchronization
- SQL Scheduler and Reporting Tool
- Importing external data
- Backup/Restore
- SQLyog Job Agent (SJA)
- Working with Views, Stored Procedures and Triggers
- Character Set and Localization Issues
- MySQL bugs that affect SQLyog
- Questions on Open Source and Compiling
- Sitemap
Most popular FAQs 
- I get error 1130 "Host is not allowed to ... (169314 views)
- Error no. 2003: Can't connect... (86274 views)
- SQLyog Version History (63952 views)
- Error no. 1045: "Connection denied..." (61348 views)
- Error no. 1251: "Client does not support authentication..." (58317 views)
- Error No. 2005: Unknown MySQL server host... (50193 views)
- What is HTTP-tunneling? (42282 views)
- What Is SSH and SSH-tunneling? (38073 views)
- Can I use SQLyog with the WINE Windows emulator ... (34946 views)
- Why are Stored Procedures not created when I import ... (34267 views)
Latest FAQs 
- SQLyog Version History (2012-01-26 08:20)
- SQLyog is a client for the MySQL server - ... (2011-11-04 04:48)
- I get error 1130 "Host is not allowed to ... (2011-11-01 05:21)
- Problems on Ubuntu 11.x (2011-10-29 13:02)
- Problems creating a functional DSN on 64 bit Windows. ... (2011-09-15 14:34)
Sticky FAQs
SQLyog Job Agent (SJA) » General questions about SJA
How do I execute a job with SJA with a single mouse-click?
Being able do so can be practical if you want someone to be able to execute the SJA with some preconfigured jobfile without having any idea of what a database is :-) . And it makes life a little bit easier too with jobs that occur often with users that do know!
We will sketch out two ways to do that.
First way:
1) You'll need to create a shortcut to the sja executable with the xml-file as a parameter at your desktop (or some other folder - but we will here assume that you want it placed on your desktop).
2) So starts creating a XML-job-file as you normally do. Now create a shortcut on the desktop either by dragging the XML-job file (or any other file for that sake!) there with the right mouse-button or just right-click the desktop and choose "new .. shortcut".
3) Now right-click the new shortcut and choose "properties" and change "destination" to the path of the SJA executable followed by the xml-file as a parameter. That will be somewhat like
"C:\Program files\SQLyog Enterprise5.0\sja.exe" myjob.xml
and be sure that the "start in" folder is the same. Also note that the quotes are needed if there is a space character in the file path.
Second way:
This method takes advantage of the fact that although the SJA jobfiles are standard XML files, SJA does not need the file extension to be .xml. It can be anything. So you can create a new jobfile (or rename an existing one) to use the suffix .sjajob for instance. Now the system will just need to be told that .sjajob files must be executed by the SJA. You can apply that setting from Control Panel... File Types or you can just double-click the .sjajob file. Windows will then ask you which executable to use. Choose sja.exe from the explorer window popping up and check the checkbox "always use..." Now the system knows that for the future .sjajob files must be executed with SJA. You can now place a shortcut to the .sjajob file anywhere.
Also note that when you have placed the shortcut where you want it you can right-click it and change its name from for instance "shortcut to myjob.sjajob" to something more explaining like "Backup vendor database". This change only affects the display of the shortcut itself on the desktop. And you may even change the Icon. And that no matter which of the above methods were used.
Finally note too that the executable to run is the SJA execuable sja.exe and not the SQLyog GUI executable
Also see: http://www.webyog.com/faq/27_35_en.html. Creating a .bat-file for executing one or more SJA jobs of course is an option too.
Tags: -
Related entries:
- SQLyog Version History
- Can I perform "incremental import" with the SQLyog Import External Data Tool?
- Error no. 1045: "Connection denied..."
- MySQL 5 objects are greyed out in "copy DB to other host" dialogue.
- Do I need to SET NAMES to display characters of my language?
Last update: 2005-11-05 08:06
Author: Peter Laursen
Revision: 1.0
You can comment this FAQ