Announcement

Collapse
No announcement yet.

cron.daily not executing

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    cron.daily not executing

    New installation of Ubuntu server 12.04

    Code:
    root@play:/etc/cron.daily# ls -l
    total 12
    -rwxr-xr-x 1 root root  595 Dec 25 00:50 backup.sh
    -rwxr-xr-x 1 root root  372 Oct  5  2011 logrotate
    -rwxr-xr-x 1 root root 1309 Oct 26  2010 sysklogd
    backup.sh is my script, I can run it manually, it's contents are- http://pastebin.com/rqYshYX0

    /etc/crontab is- http://pastebin.com/xTpiKVeU
    Registered Linux User 545823

    #2
    From man run-parts:
    run-parts runs all the executable files named within constraints described below, found in directory directory. Other files and directories are silently ignored.

    If neither the --lsbsysinit option nor the --regex option is given then the names must consist entirely of ASCII upper- and lower-case letters, ASCII digits, ASCII underscores, and ASCII minus-hyphens.
    Remove the dot in the script's filename.

    Comment


      #3
      :facepalm:

      thanks
      Registered Linux User 545823

      Comment

      Working...
      X