How to use the rtcwake command
I would like to get my rtcwake
command to wake my computer from sleep at 06:00
the following day.
Here is the command I'm using:
rtcwake -m mem -u -t $(date +%s -d "tomorrow 06:00")
So far it isn't waking. Any ideas?
command-line
|
show 2 more comments
I would like to get my rtcwake
command to wake my computer from sleep at 06:00
the following day.
Here is the command I'm using:
rtcwake -m mem -u -t $(date +%s -d "tomorrow 06:00")
So far it isn't waking. Any ideas?
command-line
posted this for me. I have it in a cronjob and the going to sleep part works but it never wakes up. I have to manually wake it and when i do that the computer says the time is still the time that it went to sleep.
– basketball
Oct 4 '14 at 14:05
@basketball I am not sure I get this right, ryanlee posted this for you?
– Jacob Vlijm
Oct 5 '14 at 7:44
@JacobVlijm yes
– basketball
Oct 5 '14 at 15:02
@basketball does the sudo work for you? If not, I'll remove the answer, if it does, would you ask ryanlee to accept the answer? otherwise it will continue to appear as unanswered.
– Jacob Vlijm
Oct 5 '14 at 15:07
@JacobVlijm no it does not work. are you in #ubuntu?
– basketball
Oct 5 '14 at 15:58
|
show 2 more comments
I would like to get my rtcwake
command to wake my computer from sleep at 06:00
the following day.
Here is the command I'm using:
rtcwake -m mem -u -t $(date +%s -d "tomorrow 06:00")
So far it isn't waking. Any ideas?
command-line
I would like to get my rtcwake
command to wake my computer from sleep at 06:00
the following day.
Here is the command I'm using:
rtcwake -m mem -u -t $(date +%s -d "tomorrow 06:00")
So far it isn't waking. Any ideas?
command-line
command-line
edited Oct 4 '14 at 2:59
bcbc
5,84942966
5,84942966
asked Oct 4 '14 at 0:40
ryanleesipesryanleesipes
9116
9116
posted this for me. I have it in a cronjob and the going to sleep part works but it never wakes up. I have to manually wake it and when i do that the computer says the time is still the time that it went to sleep.
– basketball
Oct 4 '14 at 14:05
@basketball I am not sure I get this right, ryanlee posted this for you?
– Jacob Vlijm
Oct 5 '14 at 7:44
@JacobVlijm yes
– basketball
Oct 5 '14 at 15:02
@basketball does the sudo work for you? If not, I'll remove the answer, if it does, would you ask ryanlee to accept the answer? otherwise it will continue to appear as unanswered.
– Jacob Vlijm
Oct 5 '14 at 15:07
@JacobVlijm no it does not work. are you in #ubuntu?
– basketball
Oct 5 '14 at 15:58
|
show 2 more comments
posted this for me. I have it in a cronjob and the going to sleep part works but it never wakes up. I have to manually wake it and when i do that the computer says the time is still the time that it went to sleep.
– basketball
Oct 4 '14 at 14:05
@basketball I am not sure I get this right, ryanlee posted this for you?
– Jacob Vlijm
Oct 5 '14 at 7:44
@JacobVlijm yes
– basketball
Oct 5 '14 at 15:02
@basketball does the sudo work for you? If not, I'll remove the answer, if it does, would you ask ryanlee to accept the answer? otherwise it will continue to appear as unanswered.
– Jacob Vlijm
Oct 5 '14 at 15:07
@JacobVlijm no it does not work. are you in #ubuntu?
– basketball
Oct 5 '14 at 15:58
posted this for me. I have it in a cronjob and the going to sleep part works but it never wakes up. I have to manually wake it and when i do that the computer says the time is still the time that it went to sleep.
– basketball
Oct 4 '14 at 14:05
posted this for me. I have it in a cronjob and the going to sleep part works but it never wakes up. I have to manually wake it and when i do that the computer says the time is still the time that it went to sleep.
– basketball
Oct 4 '14 at 14:05
@basketball I am not sure I get this right, ryanlee posted this for you?
– Jacob Vlijm
Oct 5 '14 at 7:44
@basketball I am not sure I get this right, ryanlee posted this for you?
– Jacob Vlijm
Oct 5 '14 at 7:44
@JacobVlijm yes
– basketball
Oct 5 '14 at 15:02
@JacobVlijm yes
– basketball
Oct 5 '14 at 15:02
@basketball does the sudo work for you? If not, I'll remove the answer, if it does, would you ask ryanlee to accept the answer? otherwise it will continue to appear as unanswered.
– Jacob Vlijm
Oct 5 '14 at 15:07
@basketball does the sudo work for you? If not, I'll remove the answer, if it does, would you ask ryanlee to accept the answer? otherwise it will continue to appear as unanswered.
– Jacob Vlijm
Oct 5 '14 at 15:07
@JacobVlijm no it does not work. are you in #ubuntu?
– basketball
Oct 5 '14 at 15:58
@JacobVlijm no it does not work. are you in #ubuntu?
– basketball
Oct 5 '14 at 15:58
|
show 2 more comments
2 Answers
2
active
oldest
votes
Following link already has your answer:
Automatically sleep and wake-up at specific times
Also, you can check more about rtcwake
using following:
Press, Ctrl+Alt+T.
Type in,
$ man rtcwake
that didnt work
– basketball
Oct 12 '14 at 5:18
add a comment |
I dont know why but in order for rtcwake to work inside of cronjob, you must run sudo crontab -e and then pastesudo rtcwake -m mem -u -t $(date +%s -d "tomorrow 06:00")
.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f531997%2fhow-to-use-the-rtcwake-command%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Following link already has your answer:
Automatically sleep and wake-up at specific times
Also, you can check more about rtcwake
using following:
Press, Ctrl+Alt+T.
Type in,
$ man rtcwake
that didnt work
– basketball
Oct 12 '14 at 5:18
add a comment |
Following link already has your answer:
Automatically sleep and wake-up at specific times
Also, you can check more about rtcwake
using following:
Press, Ctrl+Alt+T.
Type in,
$ man rtcwake
that didnt work
– basketball
Oct 12 '14 at 5:18
add a comment |
Following link already has your answer:
Automatically sleep and wake-up at specific times
Also, you can check more about rtcwake
using following:
Press, Ctrl+Alt+T.
Type in,
$ man rtcwake
Following link already has your answer:
Automatically sleep and wake-up at specific times
Also, you can check more about rtcwake
using following:
Press, Ctrl+Alt+T.
Type in,
$ man rtcwake
edited Apr 13 '17 at 12:23
Community♦
1
1
answered Oct 4 '14 at 4:47
devGeekdevGeek
4692416
4692416
that didnt work
– basketball
Oct 12 '14 at 5:18
add a comment |
that didnt work
– basketball
Oct 12 '14 at 5:18
that didnt work
– basketball
Oct 12 '14 at 5:18
that didnt work
– basketball
Oct 12 '14 at 5:18
add a comment |
I dont know why but in order for rtcwake to work inside of cronjob, you must run sudo crontab -e and then pastesudo rtcwake -m mem -u -t $(date +%s -d "tomorrow 06:00")
.
add a comment |
I dont know why but in order for rtcwake to work inside of cronjob, you must run sudo crontab -e and then pastesudo rtcwake -m mem -u -t $(date +%s -d "tomorrow 06:00")
.
add a comment |
I dont know why but in order for rtcwake to work inside of cronjob, you must run sudo crontab -e and then pastesudo rtcwake -m mem -u -t $(date +%s -d "tomorrow 06:00")
.
I dont know why but in order for rtcwake to work inside of cronjob, you must run sudo crontab -e and then pastesudo rtcwake -m mem -u -t $(date +%s -d "tomorrow 06:00")
.
answered Nov 2 '14 at 18:23
basketballbasketball
81214
81214
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f531997%2fhow-to-use-the-rtcwake-command%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
posted this for me. I have it in a cronjob and the going to sleep part works but it never wakes up. I have to manually wake it and when i do that the computer says the time is still the time that it went to sleep.
– basketball
Oct 4 '14 at 14:05
@basketball I am not sure I get this right, ryanlee posted this for you?
– Jacob Vlijm
Oct 5 '14 at 7:44
@JacobVlijm yes
– basketball
Oct 5 '14 at 15:02
@basketball does the sudo work for you? If not, I'll remove the answer, if it does, would you ask ryanlee to accept the answer? otherwise it will continue to appear as unanswered.
– Jacob Vlijm
Oct 5 '14 at 15:07
@JacobVlijm no it does not work. are you in #ubuntu?
– basketball
Oct 5 '14 at 15:58