Cron Job Fix

Discussion in 'General' started by ChildOTK, Oct 6, 2013.

  1. ChildOTK

    ChildOTK New Member

    Good Day All,

    I have a couple servers which use ISPConfig and have all root mail going to an actual e-mail address, however, every 30 minutes, :09 and :39 a script runs which generates an email with the following:

    PHP:
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0
    This is generated three times in the same e-mail.

    The cron job which gets run is:

    PHP:
    [ -/usr/lib/php5/maxlifetime ] && [ -/usr/lib/php5/sessionclean ] && [ -/var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime)
    I have tried adding the "> /dev/null" lines in different places but unfortunately still get the e-mail generated.

    With two servers sending me an email every 30 minutes, needless to say it becomes slightly frustrating.

    Can anybody shed some light on this for me, please?

    Thanks!
     
  2. Farsus

    Farsus Member

    open ming.ini and replace "#" with a ";" and your error message are gone ;-)
     

Share This Page