crontab python
from crontab import CronTab
cron = CronTab(user='root')
job = cron.new(command='echo hello_world')
job.minute.every(1)
cron.write()
crontab python
from crontab import CronTab
cron = CronTab(user='root')
job = cron.new(command='echo hello_world')
job.minute.every(1)
cron.write()
crontab python script
#!/usr/bin/env python3
#-*- coding: utf-8 -*-
import subprocess
def sendmessage(message="drink water"):
subprocess.Popen(['notify-send', message])
return
if __name__ == '__main__':
sendmessage()
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us