6135 links
  • GuiGui's Show
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
 
  • Common Cron Mistakes | alleft.com
    « The first important observation about the crontab file is this: It’s not a shell script. Sure, it looks a bit like a shell script since you can set some variables, but it’s not. It’s best to think of the crontab as an interpreted file that happens to support some variable declarations that look a lot like a shell script. But they are simple name = value pairs NOT shell variables. The “value” must be a simple value. For example, you can not de-reference a crontab “variable” in a value

    [...]

    #Does not work because sub-shells have no meaning in a crontab file.
    PATH=`path_script`:/bin

    [...]

    Percent signs need to be escaped »
    March 23, 2015 at 12:58:38 PM UTC - permalink - http://www.alleft.com/sysadmin/common-cron-mistakes/
Links per page: 20 50 100
 
Mentions légales identiques à celles de mon blog | CC BY-SA 3.0

Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community