achterberg
Technical User
This has to be too simple. I have two crontab events that email daily the information in an events calendar and a birthday calendar.
1 1 * * * calendar -f /usr/share/calendar/calendar -w today | mail -s 'Calendar Birthdays Today' me@somwhere
1 2 * * * calendar -f /usr/share/calendar/calendar.events -w today | mail -s 'Calendar Events Today' me@somewhere
This is as close as I could get to just sending me the current day's events, but it also includes tomorrow's events as well. What is the syntax to just get today's information?
1 1 * * * calendar -f /usr/share/calendar/calendar -w today | mail -s 'Calendar Birthdays Today' me@somwhere
1 2 * * * calendar -f /usr/share/calendar/calendar.events -w today | mail -s 'Calendar Events Today' me@somewhere
This is as close as I could get to just sending me the current day's events, but it also includes tomorrow's events as well. What is the syntax to just get today's information?