Syngenta Interview Question

How would you automate a script scheduling code in any language.