Sponsored Content
Full Discussion: Computer wake commands
Top Forums UNIX for Dummies Questions & Answers Computer wake commands Post 302961547 by scrutinizerix on Tuesday 1st of December 2015 04:37:33 AM
Old 12-01-2015
Computer wake commands

I'm a OS X user (MacBook Pro, OS X Lion) and I need it to wake up on Mondays, Wednesdays, Thursdays and Saturdays at 9:00 AM
on the rest of the days of the week at 7:00

I issue the following commands:

Code:
sudo pmset repeat wake MWRS 09:00:00

for the former

Code:
sudo pmset repeat wake TFU 07:00:00

for the latter


None of these works. Mac simply refuses to wake up.

schedule wake option seems to work but it's not what I need.

What I'm doing wrong?
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Wake on Lan script

Im old to Unix but new to scripting I have a MacBook running osx that I want to use as an nfs client. The server will be a linux box with a wake on lan card. Here's the idea. Run a cron command on the mac every minute that checks if I am on my home wireless network (the linux box is wired to... (0 Replies)
Discussion started by: anon0mus
0 Replies

2. Shell Programming and Scripting

Wake on LAN script

m old to Unix but new to scripting I have a MacBook running osx that I want to use as an nfs client. The server will be a linux box with a wake on lan card. Here's the idea. Run a cron command on the mac every minute that checks if I am on my home wireless network (the linux box is wired to... (6 Replies)
Discussion started by: anon0mus
6 Replies

3. Programming

how to wake up a thread that blocking at epoll_wait?

I have two threads: one maintains a thread-safe message queue (handle this queue at the beginning of every loop) and deals with tcp connections, the other one posts message to the former one. the problem is, while the former one was blocking at epoll_wait, it's not sure that how long until the... (0 Replies)
Discussion started by: cometeor
0 Replies

4. Linux

rhel 4 linux WOL wake on lan

Hi guys, Two boxes on the same .23 subnet 192.168.1.x The box I wanted to shutdown and restart remotely went down, but didn't come back up when I used ether-wake 00:11:22:etc:etc: The sleeper has two nics, but only one with cable. I configured both nics to wake on lan using the g option. The... (0 Replies)
Discussion started by: Bloke
0 Replies

5. UNIX for Dummies Questions & Answers

Linux Device Driver: how can an ISR wake up a user-thread?

Hi all, Is it possible to do the following in Linux (kernel 2.6.x): - A user-space thread goes to "sleep". Using any call/mechanism - On a hardware generated interrupt, the Interrupt handler (ISR) "wakes" the sleeping user-thread. I have seen wait_event() and wake_up() but it appears... (1 Reply)
Discussion started by: agaurav
1 Replies

6. UNIX for Dummies Questions & Answers

Using another computer to issue commands on your own

Hey guys, I'm somewhat new to Unix and the whole terminal stuff. What I need to do is run a program that runs in the terminal window (ie I type in the program name in the window and it runs) but I have to run it from my own computer as the data is on my disk. I can connect remotely to the... (1 Reply)
Discussion started by: rsingh
1 Replies

7. Programming

How to sleep and wake a thread???

Hi guys, I am creating two posix threads. I have some queries, hopefully you will help me out with them 1) How can I put a thread to indefinite sleep, for indefinite time period. I am familiar with this sleep(5); for 5 second, how can I make it indefinite?? 2) How can one thread wake another... (11 Replies)
Discussion started by: gabam
11 Replies

8. UNIX for Dummies Questions & Answers

Trouble Configuring Wake On Lan

As the title implies I'm having trouble setting up Wake-On-LAN with my Debian box. Here is the output from ethtool and my /etc/network/interfaces: # cat /etc/network/interfaces # /etc/network/interfaces - configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo... (2 Replies)
Discussion started by: Azrael
2 Replies
WAKE(8) 						    BSD System Manager's Manual 						   WAKE(8)

NAME
wake -- send Wake on LAN frames to hosts on a local Ethernet network SYNOPSIS
wake [interface] lladdr [lladdr ...] DESCRIPTION
The wake program is used to send Wake on LAN (WoL) frames over a local Ethernet network to one or more hosts using their link layer (hard- ware) addresses. WoL functionality is generally enabled in a machine's BIOS and can be used to power on machines from a remote system with- out having physical access to them. interface is an Ethernet interface of the local machine and is used to send the Wake on LAN frames over it. If there is only one Ethernet device available that is up and running, then the interface argument can be omitted. lladdr is the link layer address of the remote machine. This can be specified as the actual hardware address (six hexadecimal numbers separated by colons) or as a hostname entry in /etc/ethers. wake accepts multiple lladdr addresses. Link layer addresses can be determined and set using ifconfig(8). FILES
/etc/ethers Ethernet host name data base. SEE ALSO
ethers(5), ifconfig(8) AUTHORS
wake was written by Marc Balmer <marc@msys.ch>. BSD
December 27, 2009 BSD
All times are GMT -4. The time now is 06:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy