I'm trying to leverage the power of org capture templates. There are a few tasks I know I will be scheduling on particular dates of the month. Setting their schedule and deadline in the capture template automatically would be quiet cool, however I'm unable to get to a decent solution.
Consider this example: year and month-name are variables I have initialized via setq (is it an acceptable way to do this?)
** TODO pay salaries %(org-schedule 0 (format "%s %s 1 9am" year month-name))
However when this is evaluated, what I get in the file looks like this:
** TODO pay salaries Scheduled to <2019-09-01 Sun 09:00>
Besides constructing the scheduled and deadline strings manually, is there any other way to achieve this?