15 lines
343 B
Python
15 lines
343 B
Python
# -*- coding: utf-8; mode: python -*-
|
|
|
|
info["owner"] = "root"
|
|
info["group"] = "root"
|
|
info["perms"] = 0644
|
|
|
|
include("ip")
|
|
|
|
import random
|
|
random.seed(admip())
|
|
|
|
header("Régénération de la configuration des services")
|
|
|
|
min=random.randint(0,9)
|
|
print "%s-%s/10 * * * * root /usr/scripts/gestion/gen_confs/generate.py > /dev/null" % (min, 50+min)
|