Go Back   catalyst2 hosting forums > Support > Scripting Support

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-06-2004, 04:53 PM   #1
tddlard
Registered User
 
tddlard's Avatar
 
Join Date: May 2004
Posts: 32
Send a message via ICQ to tddlard Send a message via MSN to tddlard Send a message via Yahoo to tddlard
php command line/cron

Is php with command line support installed? If so, I wish to perform weekly database maintenence, and run a php script from the command line.

php <file>

If I were to run this from the cron daemon would the path to the file be

~/<file>

assuming that I ran the cron process as my username.
tddlard is offline   Reply With Quote
Old 09-06-2004, 09:04 PM   #2
paulredpath
Bring me your problems :p
 
paulredpath's Avatar
 
Join Date: Jan 2003
Location: /dev/ahhhhhhhhh
Posts: 3,637
If your on a linux hosting package you can run cronjobs using php command line.
__________________
Paul Redpath
paul@catalyst2.com

Follow us on Twitter at: http://twitter.com/catalyst2
Like us on Facebook: http://www.facebook.com/catalyst2

Go on, review Us at OC Host Review!
paulredpath is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump