emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-batch-agenda-csv issue
@ 2016-11-29 19:17 J. Brian Walters
  0 siblings, 0 replies; 2+ messages in thread
From: J. Brian Walters @ 2016-11-29 19:17 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I am trying to automatically extract the todo's from my orgmode files and
format them for display via a widget on my desktop.

The following command works fine with no errors when executed in a terminal

emacs -batch -l ~/.emacs -eval '(org-batch-agenda-csv "a")'

However when I setup the same command to run every 15 minutes via crontab I
get the following error message

*--[ Loading my Emacs init file ]--
Cannot open load file: package

Why would it work fine in the terminal but not when executed via a crontab
entry?

Thanks

--jbw

GNU Emacs 25.1.1 on MacOS OrgMode 9.0.1-elpa

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-batch-agenda-csv issue
       [not found] <2f46c396245841229a4f672524995abf@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-11-30  9:45 ` Eric S Fraga
  0 siblings, 0 replies; 2+ messages in thread
From: Eric S Fraga @ 2016-11-30  9:45 UTC (permalink / raw)
  To: J. Brian Walters; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

On Tuesday, 29 Nov 2016 at 19:17, J. Brian Walters wrote:

[...]

> The following command works fine with no errors when executed in a terminal
>
> emacs -batch -l ~/.emacs -eval '(org-batch-agenda-csv "a")'

[...]

> Why would it work fine in the terminal but not when executed via a crontab
> entry?

Maybe cron does not expand ~?  Try $HOME/.emacs or ${HOME}/.emacs instead.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0-3-g4c4e84

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 180 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-30 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2f46c396245841229a4f672524995abf@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-11-30  9:45 ` org-batch-agenda-csv issue Eric S Fraga
2016-11-29 19:17 J. Brian Walters

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).