jknights Posted January 22, 2009 Share Posted January 22, 2009 I would like to be able to set my system time from the Terminal application to a particular time & date combination. Is there a script that I can run to do this?. Please can somebody post and example or tell me where to do this. I have tried to use Automator to do this but I keep getting an error. Thanks Jonathan Link to comment Share on other sites More sharing options...
lucaspeed Posted January 22, 2009 Share Posted January 22, 2009 What's wrong with "date"? You can get the syntax using: man date Link to comment Share on other sites More sharing options...
jknights Posted January 22, 2009 Author Share Posted January 22, 2009 Thanks, I'll give that a try. I then need to be able to reset the system time back to Apple Eurozone time but I can do that manually I guess. It's a shame the Automator function doesnt seem to be able to cope with this. Link to comment Share on other sites More sharing options...
jknights Posted January 26, 2009 Author Share Posted January 26, 2009 I dont seem to be able to set the date but that may be because I am not using the right format. I can read the date using date '+%D' I also read somewhere that it is not possible to set OSX system date. I sthis true ? Please can somebody help me? Link to comment Share on other sites More sharing options...
aprodigy Posted February 12, 2009 Share Posted February 12, 2009 check 'man systemsetup' and it's options 'getdate' | 'setdate' or 'gettime' | 'settime' you're welcome Link to comment Share on other sites More sharing options...
jknights Posted February 12, 2009 Author Share Posted February 12, 2009 Thanks very much for suggestions. I have now managed to get it working using the date function. I'll write a script so I can automate further. Link to comment Share on other sites More sharing options...
Recommended Posts