Is it possible to compile a 'job' to a runnable .exe on desktop?

Is it possible to compile a ‘job’ to a runnable .exe on desktop? instead of having to through developer mode.

The job is only a simple code that pulls data and export it to Excel, then you manually save the file. This job needed to be run nightly, I would love to A) run the job via an .exe and B) Excel will save itself on desktop. B) I know how to solve it via googling, but for A), couldn’t find an answer so far.

No, you can’t compile AOT jobs to executable files.

Nevertheless you don’t need it all. AX uses batches for these things (search for SysOperation framework).

It would be possible to write an executable application communicating with AX through web services or Business Connector, but it would be a wrong choice in your case.