Here's my code to create a new at job...
system('echo \'php -f /path/to/my/php/file.php\' | at 1700');

I thought this would be simple and would just work but alas, nothing happens!

When I run echo \'php -f /path/to/my/php/file.php\' | at 1700 via ssh everything works as expected.

Is this a permissions problem? I.e PHP isn't allowed to create new at jobs?

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top