So pgAdmin in windows works fine for one-off query runs against the database with appexternal but we are in need of a scheduled task. Can this even be done? I've looked into pgAgent until I releaized the database doesnt have the req feat-set. Not sure if a cronjob is even possible with appadmin cli.
Here is the info I am trying to export automatically
SELECT mac, mac_vendor,ip, ap, ssid, hostname, username, device_category, device_family, device_name, status, added_at, updated_at, error_code, auth_status, roles, session_start_at, session_end_at
FROM public.endpoints
WHERE session_end_at IS null and session_start_at IS NOT null
ORDER BY session_start_at DESC