Is it possible to use PHP to create, edit and delete crontab jobs?
I know how to list the current crontab jobs of the Apache user:
$output = shell_ex
The easiest way is to use the shell_exec command to execute a bash script, passing in the values as parameters. From there, you can manipulate crontabs like you would in any other non-interactive script, and also ensure that you have the correct permissions by using sudo etc.
See this, Crontab without crontab -e, for more info.