I have to schedule a few tasks to run only once in the near future. For that i'm intending to use the at
command. I want to schedule those tasks using exec()
(or any other recommended method).
But i'm stuck. Trough putty
i can manually schedule tasks this way:
user@ubuntu:~# at 09:00am Jul 15 [enter]
at> php /path/to/script.php [ctrl+d]
But i can't figure out a way to do it trough php. Help:-s
You can use this in the command you use to execute:
I don't use PHP but it looks like it then needs to be