Resolved Cron Jobs

Status
Not open for further replies.

talk2azs

Member
Messages
103
Reaction score
5
Points
18
On the old server before the migration, I had a small cron job setup to run every morning. It is designed to clean up some directories from the previous day and free up disk space. It appears that there is a new file path that the cron job needs to be pointing to on the new server. Here is what I had working on the old server:

/usr/bin/php -f /home/talk2azs/www/location_directory/filename.php >/dev/null 2>&1

How should this cron job be formatted on the new server?
 

Anna

I am just me
Staff member
Messages
11,768
Reaction score
590
Points
113
I have it set as: /usr/bin/php -q /home/USER......

I think it is only the -q you need to change, the rest should work.
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
252
Points
63
@talk2azs Were you able to get this to work? Please let us know if you need any further assistance or this thread will be closed for inactivity. Thank you.
 
Status
Not open for further replies.
Top