I recently acquired another dedicated server, and I'm trying to setup a cronjob. I've tried several things now, and nothing is working.
I'm trying to setup a cronjob for use with a php script. I've set it up in DirectAdmin with no luck and I've set it up via crontab in ssh and still nothing!
I've tried using just "php" instead of "/usr/local/bin/php" and still no luck!!
How ever, both commands (using just "php" or the actual path to php) work when I input them in SSH. Any ideas?
I'm trying to setup a cronjob for use with a php script. I've set it up in DirectAdmin with no luck and I've set it up via crontab in ssh and still nothing!
30 2 * * * /usr/local/bin/php /home/user/domains/domain.com/public_html/lib/cronJob.php >/dev/null 2>&1
I've tried using just "php" instead of "/usr/local/bin/php" and still no luck!!
How ever, both commands (using just "php" or the actual path to php) work when I input them in SSH. Any ideas?