crontab does not work correctly python file ok Announcing the arrival of Valued Associate...
What's the meaning of "fortified infraction restraint"?
Can a new player join a group only when a new campaign starts?
How would a mousetrap for use in space work?
If a contract sometimes uses the wrong name, is it still valid?
What does the "x" in "x86" represent?
Is it common practice to audition new musicians one-on-one before rehearsing with the entire band?
Amount of permutations on an NxNxN Rubik's Cube
Can an alien society believe that their star system is the universe?
For a new assistant professor in CS, how to build/manage a publication pipeline
Do I really need to have a message in a novel to appeal to readers?
Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?
What is implied by the word 'Desika'
Can anything be seen from the center of the Boötes void? How dark would it be?
An adverb for when you're not exaggerating
Wu formula for manifolds with boundary
Why aren't air breathing engines used as small first stages?
Is it a good idea to use CNN to classify 1D signal?
Does classifying an integer as a discrete log require it be part of a multiplicative group?
Is "Reachable Object" really an NP-complete problem?
How to convince students of the implication truth values?
Dating a Former Employee
How can I use the Python library networkx from Mathematica?
AppleTVs create a chatty alternate WiFi network
2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?
crontab does not work correctly python file ok
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Telnet output file DOES NOT WORK Correctly UNDER CrontabCrontab does not workarecord does not work with crontabPython 'Import pyodbc' does not work in a cron taskPlayOnLinux won't launchWhy does crontab not work correctly on my wallpaper script?E: Sub-process /usr/bin/dpkg returned an error code (1) when try to execute apt-get install python3-pexpectCrontab entry does not workpython: mingus.midi does not workPython script not working on crontab
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
from datetime import datetime
x="Hello, it is now %s." % datetime.now().strftime('%d-%m-%Y %H:%M:%S')
import csv
try:
with open('output.csv', 'w+') as csvFile:
writer=csv.writer(csvFile)
writer.writerow(x.encode('UTF-8'))
print(x.encode('UTF-8'))
finally:
csvFile.close()
import pandas as pd
data = pd.read_csv('output.csv')
data.to_excel('output.xlsx')
UBUNTU code
attyan22@LAPTOP-SGBTV53C:/tmp/sysv-rc-conf-0.99$ crontab -l
* * * * * /usr/bin/python/c/Users/a.sakata/Desktop/python_lesson/hello_time.py
but it does not work, so I checked if top run or not
attyan22@LAPTOP-SGBTV53C:/tmp/sysv-rc-conf-0.99$ sudo apt-get install chkconfig
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package chkconfig is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'chkconfig' has no installation candidate
attyan22@LAPTOP-SGBTV53C:/tmp/sysv-rc-conf-0.99$ sudo apt-get install sysv- rc-conf
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sysv-rc-conf
it cannot install
why how
python cron
New contributor
add a comment |
from datetime import datetime
x="Hello, it is now %s." % datetime.now().strftime('%d-%m-%Y %H:%M:%S')
import csv
try:
with open('output.csv', 'w+') as csvFile:
writer=csv.writer(csvFile)
writer.writerow(x.encode('UTF-8'))
print(x.encode('UTF-8'))
finally:
csvFile.close()
import pandas as pd
data = pd.read_csv('output.csv')
data.to_excel('output.xlsx')
UBUNTU code
attyan22@LAPTOP-SGBTV53C:/tmp/sysv-rc-conf-0.99$ crontab -l
* * * * * /usr/bin/python/c/Users/a.sakata/Desktop/python_lesson/hello_time.py
but it does not work, so I checked if top run or not
attyan22@LAPTOP-SGBTV53C:/tmp/sysv-rc-conf-0.99$ sudo apt-get install chkconfig
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package chkconfig is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'chkconfig' has no installation candidate
attyan22@LAPTOP-SGBTV53C:/tmp/sysv-rc-conf-0.99$ sudo apt-get install sysv- rc-conf
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sysv-rc-conf
it cannot install
why how
python cron
New contributor
add a comment |
from datetime import datetime
x="Hello, it is now %s." % datetime.now().strftime('%d-%m-%Y %H:%M:%S')
import csv
try:
with open('output.csv', 'w+') as csvFile:
writer=csv.writer(csvFile)
writer.writerow(x.encode('UTF-8'))
print(x.encode('UTF-8'))
finally:
csvFile.close()
import pandas as pd
data = pd.read_csv('output.csv')
data.to_excel('output.xlsx')
UBUNTU code
attyan22@LAPTOP-SGBTV53C:/tmp/sysv-rc-conf-0.99$ crontab -l
* * * * * /usr/bin/python/c/Users/a.sakata/Desktop/python_lesson/hello_time.py
but it does not work, so I checked if top run or not
attyan22@LAPTOP-SGBTV53C:/tmp/sysv-rc-conf-0.99$ sudo apt-get install chkconfig
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package chkconfig is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'chkconfig' has no installation candidate
attyan22@LAPTOP-SGBTV53C:/tmp/sysv-rc-conf-0.99$ sudo apt-get install sysv- rc-conf
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sysv-rc-conf
it cannot install
why how
python cron
New contributor
from datetime import datetime
x="Hello, it is now %s." % datetime.now().strftime('%d-%m-%Y %H:%M:%S')
import csv
try:
with open('output.csv', 'w+') as csvFile:
writer=csv.writer(csvFile)
writer.writerow(x.encode('UTF-8'))
print(x.encode('UTF-8'))
finally:
csvFile.close()
import pandas as pd
data = pd.read_csv('output.csv')
data.to_excel('output.xlsx')
UBUNTU code
attyan22@LAPTOP-SGBTV53C:/tmp/sysv-rc-conf-0.99$ crontab -l
* * * * * /usr/bin/python/c/Users/a.sakata/Desktop/python_lesson/hello_time.py
but it does not work, so I checked if top run or not
attyan22@LAPTOP-SGBTV53C:/tmp/sysv-rc-conf-0.99$ sudo apt-get install chkconfig
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package chkconfig is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'chkconfig' has no installation candidate
attyan22@LAPTOP-SGBTV53C:/tmp/sysv-rc-conf-0.99$ sudo apt-get install sysv- rc-conf
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sysv-rc-conf
it cannot install
why how
python cron
python cron
New contributor
New contributor
New contributor
asked 5 mins ago
Atsushi SakataAtsushi Sakata
62
62
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
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
});
}
});
Atsushi Sakata is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1134849%2fcrontab-does-not-work-correctly-python-file-ok%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Atsushi Sakata is a new contributor. Be nice, and check out our Code of Conduct.
Atsushi Sakata is a new contributor. Be nice, and check out our Code of Conduct.
Atsushi Sakata is a new contributor. Be nice, and check out our Code of Conduct.
Atsushi Sakata is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1134849%2fcrontab-does-not-work-correctly-python-file-ok%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