Click "Export From Query" at task dialog.
then show the Export Query form.
1. Select file type.
2. Enter query.
3. Enter data file name.
For repeatable task, you can click "Save Session" button to save config, then run it next time. see also: Save and load session.