cron - How to use at command to set python script execute at specified time -
when try use cron execute python script in future time, found there command at, afaik, cron periodically execute, scenario execute once in specified time. , question how add python script @ command, there python package control @ command
my dev os ubuntu 10.04 lucid,and product server ubuntu-server 10.04 lucid version. in fact, want through python script add python script tasks @ command, file's change can effect @ command add or remove new jobs
just
python file | @ time > app.log
replace: file - .py file (include shebang)
time - time
Comments
Post a Comment