The Schedule File
PAYEE=ryan
MEMO=added with cron!
NUM=3517
RECO=N
SHARES=10
DATE=06/15/1975
ACCTS=4
SPLIT job
105.5 Checking
20 Savings
52.87 auto
The only thing that really has to be in there is the PAYEE tag, and the
ACCTS tag. Order doesn't really matter, but the ACCTS section has to be
at the end of the file. The account names are prefixed with the amount
of the transaction in them, followed by some amount of whitespace. If
you would prefer to use a percentage of the account balance as the
amount, just put a percent sign (%) immediately following the
number. This form might be handy if your bank gives you interest on
account balances, or if your credit card charges a predictable fee based
on the current balance. The percentage can be positive or negative. This
format does not allow for comments. All transactions added in --cron
mode will have that day's date as the transaction date, unless the
"DATE" tag is used. In this case, the specified date is used, as you
might expect. Also, if any transaction has a percentage-based sum, the
percentage will be calculated based on the account balance of that date.
The account identifiers can be an account's full name, its short name,
or its account id. If you have two accounts with the same name, I
guarantee one of the accounts will get the transaction. Finally, if you
want a double-entry transaction inserted, you need to include two
accounts, but if you give them different amounts, the first amount will
be used for both transactions, and an error will be printed to the
screen. You can avoid this error message by specifying "SPLIT" as one of
the amounts. This is also a good idea if you want to schedule a
transaction with percentages, but only for one account.
The SHARES line only has to be in there if you want to schedule a market
transaction. If it's not in the file, or set to 1, a regular transaction
will be created.