Skip to main content

TURN YOUR MAC ON AUTOMATICALLY (Using Command Line)

If you want to set your Mac so that it turns ON exactly on the time you want, you can do that I used this command syntax:
pmset repeat wakeorpoweron MTWRF 00:00:00

Let me simplify the command so that you can understand it. pmset is the command, wakeorpoweron is to tell your Mac to turn it ON if it is OFF or to wake up if it is sleeping. MTWRF are the weekdays where R represents thursday, I know you are smart enough to understand the reason and 00:00:00 is the time you want your Mac is to be back in action.
Now, if you want to cancel this schedule, then type the following command:
 pmset repeat cancel

Though, this is not a big help as it can also be done from energy saving options in your Mac, but there is limit of setting only couple of schedules.  Using command line you can set as many rules as you want. This is what we call being a step ahead of the crowd. In coming posts we will discuss more about pmset command and its versatility.

Comments

Lisa P said…
Yeahh I was wondering why did u write this post wen we can do it with GUI. but got the details in last line... ok would be waiting to know what all can we do with this command.
thanks.
Lisa P

Popular posts from this blog

iPad has decreased lappy sale by 50% – Best Buy

Electronics retailers are revamping their aisles to focus on hand-held gadgets this holiday season to excite consumers who have grown weary of their traditional big-sellers: televisions and personal computers. Handhelds are changing electronics retailing. Above, a Best Buy employee in Chicago delivers iPads in April. Shoppers this Christmas can expect to see more smartphones, electronic readers and touch-screen computers in the most prominent store displays, underscoring a dramatic shift to powerful portable devices that is fast changing the face of consumer electronics retailing. The new priorities are plainly evident in the changing strategy of Best Buy Co., the nation's largest electronics retailer by revenue, which is now morphing into a mobile gadget specialist after decades of promoting the latest in big-screen televisions, desktop computers and high-fidelity stereos. Read more on Wall Street Journal

Welcome the new macOS - Mojave

Apple has released 3rd Beta verion of their macOS Mojave, so we thought to give it a try. What we found is that the product is really promising. They have improved many things that we never realized is actually a need.  Instead of writing what we loved, we prefered to collect posts that include all new features. If anyone needs Mojave Beta release, please send an email to:  Laeeq.Humam@hcl.com , we would be glad to share it.    List of new features: https://gizmodo.com/all-the-new-features-coming-in-macos-10-14-mojave-upda-1826531489 https://appleinsider.com/articles/18/06/09/90-new-changes-features-in-macos-mojave https://fieldguide.gizmodo.com/10-useful-new-features-hidden-in-the-macos-mojave-beta-1826603113

MAKING A FILE/FOLDER INVISIBLE

How to hide a file/folder using Terminal This is one of the greatest technique that I ever came across, I had to share my Mac in office and was curious about hiding confidential data. This was when I started exploring and finally came up with this solution. These commands are to be typed in Terminal. To make a file or folder invisible in Mac OS X Finder setfile -a V testfile.txt Here is goes, the file or folder is no longer visible via the Finder GUI, though it will be by Terminal. Your files are still there and you can find them via the command line and will show with an ls command. If you want your files and folders to be visible again, use this command: To make a file or folder visible again in Mac OS X Finder setfile -a v testfile.txt Now the file/folder will be visible again to the Finder, cool isn't it? Please Note: setfile is a command line utility included in Apple’s Developer Tools, which is a highly recommended optional install included on any Mac OS X install