psql -U moodle_user -d moodle <<EOF
SELECT * FROM "mdl_task_adhoc"
EOF