I am making a cron, which would perform some tasks on mentioned doctypes. Cron picks the data from a doctype called cron records.
In cron records there is a field which would contain the name of the doctype on which action has to be performed. How can I fetch the list of doctypes, so that one can be selected while inserting a record into cron records.