phpmyadmin cron upgrade issue on NGINX with PHP7.0

February 28, 2016 2.1k views
Nginx LEMP MySQL

Hi,

I followed this tutorial on installing phpmyadmin on NGINX with PHP7.0 and the issue I have is that my Cron job does not seem to work.

When I login to phpmyadmin I can see that it hasn't been upgraded to the latest version.

I followed the tutorial exactly like it is written except I changed the script to

cd /etc/phpmyadmin/ git pull -q origin STABLE

Beacuse it is the folder my phpmyadmin is in.

Is there anything I have missed?

Best regards.

2 comments
  • Does the failed cron job give any error output? Check your syslog by running: grep CRON /var/log/syslog

    Also, those two commands should be on separate lines like in the tutorial you linked:

    #!/bin/bash
    
    cd /etc/phpmyadmin/
    git pull -q origin STABLE
    
  • Hi asb,

    I changed it to be exactly as you said and as the tutorial said.

    My output from the syslog is:

    Feb 29 06:39:01 myserver CRON[21900]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 06:39:01 myserver CRON[21901]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 06:40:01 myserver CRON[21943]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 07:00:01 myserver CRON[21977]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 07:09:01 myserver CRON[22003]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 07:09:01 myserver CRON[22004]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 07:17:01 myserver CRON[22051]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 07:20:01 myserver CRON[22058]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 07:39:01 myserver CRON[22091]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 07:39:01 myserver CRON[22092]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 07:40:01 myserver CRON[22134]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 08:00:01 myserver CRON[22168]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 08:09:01 myserver CRON[22194]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 08:09:01 myserver CRON[22195]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 08:17:01 myserver CRON[22242]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 08:20:01 myserver CRON[22267]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 08:39:01 myserver CRON[22300]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 08:39:01 myserver CRON[22301]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 08:40:01 myserver CRON[22343]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 09:00:01 myserver CRON[22380]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 09:09:01 myserver CRON[22408]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 09:09:01 myserver CRON[22409]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 09:17:01 myserver CRON[22456]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 09:20:01 myserver CRON[22461]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 09:39:01 myserver CRON[22492]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 09:39:01 myserver CRON[22493]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 09:40:01 myserver CRON[22537]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 10:00:01 myserver CRON[22569]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 10:09:01 myserver CRON[22596]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 10:09:01 myserver CRON[22597]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 10:17:01 myserver CRON[22648]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 10:20:01 myserver CRON[22655]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 10:39:01 myserver CRON[22688]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 10:39:01 myserver CRON[22689]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 10:40:01 myserver CRON[22731]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 11:00:01 myserver CRON[22787]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 11:09:01 myserver CRON[22815]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 11:09:01 myserver CRON[22816]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 11:17:01 myserver CRON[22868]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 11:20:01 myserver CRON[22871]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 11:39:01 myserver CRON[22929]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 11:39:01 myserver CRON[22928]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 11:40:01 myserver CRON[22971]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 12:00:01 myserver CRON[23025]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 12:09:01 myserver CRON[23055]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 12:09:01 myserver CRON[23056]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 12:17:01 myserver CRON[23122]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 12:20:01 myserver CRON[23126]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 12:39:01 myserver CRON[23180]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 12:39:01 myserver CRON[23181]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 12:40:01 myserver CRON[23232]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 13:00:01 myserver CRON[23272]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 13:09:01 myserver CRON[23302]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 13:09:01 myserver CRON[23303]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 13:17:01 myserver CRON[23356]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 13:20:01 myserver CRON[23364]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 13:39:01 myserver CRON[23425]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 13:39:01 myserver CRON[23426]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 13:40:01 myserver CRON[23468]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 14:00:01 myserver CRON[23524]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 14:09:01 myserver CRON[23552]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 14:09:01 myserver CRON[23553]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 14:17:01 myserver CRON[23600]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 14:20:01 myserver CRON[23605]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 14:39:01 myserver CRON[23640]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 14:39:01 myserver CRON[23641]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 14:40:01 myserver CRON[23683]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 15:00:01 myserver CRON[23715]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 15:09:01 myserver CRON[23744]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 15:09:01 myserver CRON[23745]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 15:17:01 myserver CRON[23792]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 15:20:01 myserver CRON[23795]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 15:39:01 myserver CRON[23831]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 15:39:01 myserver CRON[23832]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 15:40:01 myserver CRON[23876]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 16:00:01 myserver CRON[23946]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 16:09:01 myserver CRON[23974]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 16:09:01 myserver CRON[23975]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 16:17:01 myserver CRON[24027]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 16:20:01 myserver CRON[24032]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 16:39:01 myserver CRON[24071]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 16:39:01 myserver CRON[24072]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 16:40:01 myserver CRON[24114]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 17:00:01 myserver CRON[24209]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 17:09:01 myserver CRON[24237]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 17:09:01 myserver CRON[24238]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 17:17:01 myserver CRON[24290]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 17:20:01 myserver CRON[24298]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 17:39:01 myserver CRON[24429]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 17:39:01 myserver CRON[24428]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 17:40:01 myserver CRON[24471]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 18:00:01 myserver CRON[24519]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 18:09:01 myserver CRON[24574]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 18:09:01 myserver CRON[24575]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 18:17:01 myserver CRON[24624]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 18:20:01 myserver CRON[24632]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 18:39:01 myserver CRON[24668]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 18:39:01 myserver CRON[24669]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 18:40:01 myserver CRON[24711]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 19:00:01 myserver CRON[24765]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 19:09:01 myserver CRON[24791]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 19:09:01 myserver CRON[24792]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 19:17:01 myserver CRON[24844]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 19:20:01 myserver CRON[24851]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 19:39:01 myserver CRON[24882]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 19:39:01 myserver CRON[24883]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 19:40:01 myserver CRON[24925]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 20:00:01 myserver CRON[24959]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 20:09:01 myserver CRON[24985]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 20:09:01 myserver CRON[24986]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 20:17:01 myserver CRON[25033]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 20:20:01 myserver CRON[25036]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 20:39:01 myserver CRON[25071]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 20:39:01 myserver CRON[25072]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 20:40:01 myserver CRON[25116]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 21:00:01 myserver CRON[25168]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 21:09:01 myserver CRON[25197]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 21:09:01 myserver CRON[25198]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 21:17:01 myserver CRON[25245]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Feb 29 21:20:01 myserver CRON[25250]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 21:39:01 myserver CRON[25304]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 21:39:01 myserver CRON[25305]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 21:40:01 myserver CRON[25347]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 22:00:01 myserver CRON[25382]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp)
    Feb 29 22:09:01 myserver CRON[25501]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
    Feb 29 22:09:01 myserver CRON[25502]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
    Feb 29 22:09:28 myserver cron[25544]: (CRON) DEATH (can't lock /var/run/crond.pid, otherpid may be 943: Resource temporarily unavailable)
    
1 Answer

Sorry to see that your question hasn't received an answer yet. Unfortunately, after this much time, it is unlikely that an answer for this specific question will be provided. For people still landing here via search, it will help to look at the script's output log in addition to the CRON entires in the syslog file.

In that tutorial, all output is discarded (forwarded to /dev/null):

0 5 * * * /home/user/scripts/pma_update.sh >> /dev/null 2>&1

To save all output to a file, replace /dev/null with, for example, /home/user/scripts/pma_update.log or any path for that matter as long as it is writeable by the user who owns the cron job.

Have another answer? Share your knowledge.