How JDBC input get data without schedule?

A coworker told me that you can ommit the schedule in the JDBC input, and still will get data, if this is true, how and when the SQL query get triggered? does logtash check for changes in the DB periodically?

don’t think that’s possible. jdbc input uses scheduler

The schedule option is optional. If it is not supplied then the query will be run exactly once at startup.