I'm trying to schedule a number of jobs in linux using a python script. Currently, my script looks something like this:
import subprocess
command = 'python foo.py %s %s | at %s' % (arg1, arg2, starttime)
subprocess.Popen([command,], shell=True)
But this doesn't appear to work and I was hoping someone might be able to advise on what I should be doing.