Current time: 11-17-2024, 05:32 AM Hello There, Guest! (LoginRegister)


Post Reply 
Wordpress upload 500 internal server error
Author Message
robbo007 Offline
Junior Member
*

Posts: 136
Joined: Apr 2009
Reputation: 0
Post: #4
RE: Wordpress upload 500 internal server error
Hmm I seem to be getting an error now from the cron.d process:

Cron <root@sosaria> [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete (failed)

find: invalid argument `-delete' to `-cmin'

It seems to be from my crontab:

sosaria:/etc/cron.d# cat php5
# /etc/cron.d/php5: crontab fragment for php5
# This purges session files older than X, where X is defined in seconds
# as the largest value of session.gc_maxlifetime from all your php.ini
# files, or 24 minutes if not defined. See /usr/lib/php5/maxlifetime

# Look for and purge old sessions every 30 minutes
09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete
sosaria:/etc/cron.d#


Any ideas?
09-11-2012 12:46 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Wordpress upload 500 internal server error - robbo007 - 09-11-2012 12:46 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)