How to increase timeout for scheduler cron methods

I see that there are default schedule event where you can place long running methods like daily_long and hourly_long, but how do you increase the timeout for custom cron methods as in the example above?

Here’s the code based on the linked thread but it does seem like it’s the code for timeouts for methods being run using enqueue and not for scheduler events.