I’m new to org-mode and wrote a file with Babel in a few languages. I would like the file to each day, running the code in the org file, on a remote server – I don’t think that’s important.
I wanted to do it with cron. I was trying something like
crontab emacs -batch -l my_file.org
Section 14.12 of the Org manual will be a good entry point for batch execution.
Its online version can be found at http://orgmode.org/manual/Batch-execution.html.
It introduces an example using
org-babel-tangle, so you might want to replaceorg-babel-tanglewith your own function.