On Dec 12, 2008, at 1:30 PM, Benjamin Dobson wrote:
On 12 Dec 2008, at 18:36:21, has wrote:You could run 'say `date`' as a cron job.Make sure to specify your own date format. The user's default one will probably sound silly.For example, date "+The time now is %I:%m %p on %A %B %e %Y" will return The time now is 09:12 pm on Friday December 12 2008The system voices will pick it up as a date and say "twelfth" instead of "twelve". Compare this with my default format:Fri 12 Dec 2008 21:27:14 GMTI had to listen to that several times to work out what it was saying. It is spoken ridiculously fast.See date man page for more info.
Hi! A tiny bit of nitpickiness, if I may: When employing the above format string, one will probably want to use %M, rather than %m -- when I tried it, the %m returned the month, while %M returned the minutes.
Cheers, Andrew
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com