Richard Cobbe <[email protected]> writes: > I'd hate to see ledger-mode's support for scheduled transactions > removed entirely in favor of cron -- not least because I tend not to > have my computer running 24-7, so I'd be worried about missing > transactions that fall due on a day when the computer's off (because > I'm out of town or something).
FWIW, the cron suggesting wasn't to actually *use* cron, but to borrow from its syntax. Though, as pointed out, "every other Tuesday" is hard to do in cron. > Additionally, I'm not sure cron would fit my usage pattern well. I > chiefly use scheduled transactions for various transactions (monthly > or bi-weekly) that take money out of my checking account -- and in > GnuCash, I specifically had them set to appear a week before the > transaction actually posts, so I could make sure I have enough in the > checking account to cover them. (These are payments for which I > don't get bills in advance -- things like automatic monthly transfers > from checking into investment accounts, and automatic bi-weekly > mortgage payments, and so forth.) > > Right now, I rely on the fact that I start GnuCash often enough that > I see the transaction pretty close to a week in advance, and that > seems to work pretty well, although of course it's not foolproof. If > I had to use cron for something like this, I'd have to put a > mechanism in place to notify me somehow, probably via email, that a > scheduled transaction has posted. As it is, even with ledger-mode, > I'll have to get into the habit of hitting C-c C-u every time I open > the file. > > Another option that I'm still considering is just sitting down on Jan > 1 or whenever and writing up (probably programmatically) a year's > worth of recurring transactions into the ledger file directly, and > then just running "ledger bal" every morning with the appropriate > options to display the projected balance 7 days out. > > Richard > Richard > > On Tuesday, July 8, 2014 8:26:11 PM UTC-4, Craig Earls wrote: > > cron, I never even thought of it. Brilliant. There is probably > even > an elisp parser already written than I can steal... > > On Tue, Jul 8, 2014 at 4:38 PM, Eric Abrahamsen < > [email protected]> wrote: > > Craig Earls <[email protected]> writes: > > > >> I have been very slowly working on exactly that for a long > time. I > >> keep dithering on how to represent that kind of recurrence. > So, since > >> you are the first to ask, what would you like it to look like? > > > > Cron has been around for ages and is just about as expressive > as you can > > get -- maybe something based on that? > > > >> I was think of something like: > >> <anchor date>+ perodicity > >> For example every o > >> Third Monday starting on 2014-07-14 would be: > >> 2014-07-14+3w > >> > >> I have thought of other ways and all have merits. What would > you > >> like. Keep in mind the requirement for specifying a starting > point > >> > >> On Tuesday, July 8, 2014, Richard Cobbe < > >> [email protected]> wrote: > >> > >> (Please forgive me if this is a duplicate post -- I'm > fairly new > >> to Google groups, and my first attempt apparently went off > into > >> the ether rather than showing up on this list.) > >> > >> I'm trying to transition from GnuCash to ledger, and I'm > looking > >> for an equivalent to GnuCash's scheduled transactions. I > see > >> from the ledger-mode manual that there's some support for > this > >> feature in Emacs, and I've played around with it and > figured out > >> how to do simple things, like scheduling a transaction to > run > >> every month on the 13th, say, by supplying a date in the > form [*/ > >> */13]. > >> > >> Is there a way to schedule a transaction to run every > other > >> Monday? I don't see how to fit that into the date syntax > that's > >> described in the manual. I took a quick look at > >> ledger-schedule.el, and ledger-schedule-descriptor-regex > appears > >> to support more expressive date specifications than just > [*/*/ > >> 13], but it's going to take me a while to figure out > what's going > >> on here. In particular, ledger-schedule-constrain-day > appears > >> not to support all of the possible options that the regex > appears > >> to allow. > >> > >> Ledger 3.0.3-20140608 on MacOS 10.9.4, for what it's > worth. Oh, > >> and Emacs 24.3.1. > >> > >> Thanks! > >> > >> Richard > >> > >> -- > >> > >> --- > >> You received this message because you are subscribed to > the > >> Google Groups "Ledger" group. > >> To unsubscribe from this group and stop receiving emails > from it, > >> send an email to [email protected]. > >> For more options, visit https://groups.google.com/d/optout > . > >> > >> > >> > >> -- > >> Craig, Corona De Tucson, AZ > >> enderw88.wordpress.com > >> > >> -- > >> > >> --- > >> You received this message because you are subscribed to the > Google > >> Groups "Ledger" group. > >> To unsubscribe from this group and stop receiving emails from > it, > >> send an email to ledger-cli+unsubscribe-/ > >> [email protected]. > >> For more options, visit https://groups.google.com/d/optout. > > > > -- > > > > --- > > You received this message because you are subscribed to the > Google Groups "Ledger" group. > > To unsubscribe from this group and stop receiving emails from > it, send an email to [email protected]. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Craig, Corona De Tucson, AZ > enderw88.wordpress.com > > -- > > --- > You received this message because you are subscribed to the Google > Groups "Ledger" group. > To unsubscribe from this group and stop receiving emails from it, > send an email to ledger-cli+unsubscribe-/ > [email protected]. > For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
