Creating a scheduled file transfer
We can schedule a new file transfer either from the IBM MQ Explorer Explorer or from the command line. The scheduled transfer can contain single files or multiple files in a group. We can perform a scheduled file transfer once or repeat the transfer multiple times.
We can set up a file transfer schedule to occur once,
or to occur at the following intervals:
- Every minute
- Hourly
- Daily
- Weekly
- Monthly
- Yearly
- At a defined time and date
- After a defined number of occurrences
To create a new scheduled file transfer using the command line, use the scheduling parameters (-tb, -ss, -oi, -of, -oc, and -es) for the fteCreateTransfer command.
To create a new scheduled file transfer using the Create New Managed File Transfer wizard in IBM MQ Explorer, use the following steps:
Procedure
- In the Navigator view, click Managed File Transfer. Managed File Transfer Central is displayed in the Content view.
- All of your coordination queue managers are displayed in the Navigator view. Expand the name of the coordination queue manager that the agent you want to use for the transfer is registered against. If you are currently connected to a coordination queue manager other than the one you want to use for the transfer, right-click that coordination queue manager name in the Navigator view and click Disconnect. Then right-click the name of the coordination queue manager you want to use and click Connect.
- Start the Create New Managed File Transfer wizard
using either of the following methods:
- Right-click the name of any of the following nodes in the Navigator view: the relevant coordination queue manager, Transfer Templates, Transfer Log, or Pending Transfers. Then click New Transfer to start the wizard.
- Click File > New > Other > Managed File Transfer Wizards > New Transfer Wizard
- Follow the instructions on the wizard panels. Ensure that you select the Enable schedule transfer check box and enter your schedule details on the Schedule tab. Scheduled file transfers start within a minute of the schedule start time, if there are no problems that might affect the transfer. For example, there might be issues with your network or agent that prevent the scheduled transfer starting. There is context-sensitive help provided for each panel. To access the context-sensitive help on Windows, press F1. On Linux , press Ctrl+F1 or Shift+F1.
Results
For information about the messages involved in scheduled file transfers, see Message formats for scheduled transfers.