Cron format

Hi,

I need a cron formatted entity attribute.
Should I store it like an integer?
Should I create a datatype for it?

Thanks

Do you want to store Cron expressions?
Maybe just keep them as strings and validate user input?

Hi,

Yes I want to store Cron expressions.
How to validate user input?

Hi,
You can write a validator similar to com.haulmont.cuba.gui.app.core.scheduled.CronValidator.
Regards,
Gleb