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

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -