Search found 2 matches

by dsk3801
Thu Jun 09, 2005 9:04 pm
Forum: PHP - Code
Topic: Creating a crontab from within a PHP script
Replies: 1
Views: 329

Ok, I actually figured this out on my own, but I thought I'd post my solution in case anyone else needs to do it. A few pre-requisites... server must have cPanel installed, PHP w/ cUrl extension (I'm using PHP5, but it'll probably work on PHP4), and you'll need to know the cPanel username/password f...
by dsk3801
Thu Jun 09, 2005 5:48 pm
Forum: PHP - Code
Topic: Creating a crontab from within a PHP script
Replies: 1
Views: 329

Creating a crontab from within a PHP script

I need to setup a crontab from a PHP script. I'm thinking I should use the shell_exec() command, but the crontab needs to be setup for a specific user. Any suggestions?