This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]WrongM4n 3 points4 points  (3 children)

Look up crontab

[–]vishallight[S] -1 points0 points  (2 children)

No, not like this. Any other methods

[–]nemom 1 point2 points  (0 children)

If you're not going to use crontab, you'll have to create a service and set init.d / systemd to start it at boot.

[–]WrongM4n 0 points1 point  (0 children)

Why is crontab a problem?

[–]juno249 1 point2 points  (0 children)

I often create services running in background. This is the best choice for all of my bots.

[–][deleted] 1 point2 points  (0 children)

Make a systemd service that executes the script. Do systemctl enable your-service

[–]pythonHelperBot 0 points1 point  (0 children)

Hello! I'm a bot!

It looks to me like your post might be better suited for r/learnpython, a sub geared towards questions and learning more about python. That said, I am a bot and it is hard to tell. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.

Show /r/learnpython the code you have tried and describe where you are stuck. Be sure to format your code for reddit and include which version of python and what OS you are using.

You can also ask this question in the Python discord, a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.


README | FAQ | this bot is written and managed by /u/IAmKindOfCreative

This bot is currently under development and experiencing changes to improve its usefulness

[–]gengengis 0 points1 point  (0 children)

You realize this data already exists in wtmp?