use MySqlPool;
/// A scheduled job registration entry provided by the #[scheduled] macro.
///
/// This struct represents a scheduled job that can be spawned and run periodically.
/// Each job has a name and a spawn function that starts the scheduled task.
collect!;
/// Starts all registered scheduled jobs.
///
/// This function iterates through all scheduled jobs registered via the inventory
/// system and spawns them using the provided database pool.
///
/// # Arguments
/// * `pool` - The MySQL connection pool to provide to scheduled jobs