Current time: 11-25-2024, 04:50 PM Hello There, Guest! (LoginRegister)


Thread Closed 
[HowTO] add cronjob on Debian Lenny Improved
Author Message
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #16
RE: [HowTO] add cronjob on Debian Lenny Improved
this is my config file:
Code:
# sample hcrond config file

# comments begin with #, whole line is ignored
# empty lines are ignored
# so is all whitespace other than newline
# one 'option = "value"' per line, "s can be omitted unless empty

# the values used here are the defaults

# bool values are expressed (case insensitively) with any of
# 1, 0, true, false, yes, no

# command line options have preference over these
# there are other command line options:
#  configfile - configfile filename
#  help - show help
#  version - show version

# XXX Please note that many of the options are not yet implemented, see --help

# pidfile - hcrond pidfile filename
pidfile = /var/run/hcrond.pid

# host - address (IP or hostname) of server running mysql
host = 127.0.0.1

# port - the port mysql listens to
port = 3306

# user - username
user = root

# pass - password
pass = password

# dbnm - database name
dbnm = ispcp

# table - table name
table = hcrondtab

# allow_root (bool) - allow running cmd with uid=0 or gid=0
allow_root = yes

# allow_uidgid (bool) - allow running cmd with different uid && gid
allow_uidgid = yes

# force_uid - run everything with this uid or username
force_uid = ""

# force_gid - run everything with this gid or groupname
force_gid = ""

# force_hostname - use this hostname for comparison with `machine' field
force_hostname = ""

# ignore_machine (bool) - ignore the `machine' field
ignore_machine = false

# allow_notnice (bool) - allow negative nice values
allow_notnice = false

# force_shell - always use this shell
force_shell = ""

# force_shell_die (bool) - die if forced shell different from `sh'
force_shell_die = true

# reload - reload
reload = 30

# debug (bool) - debug mode (no detach and more verbosity)
debug = false

# max_jobs - keep only up to $max_jobs jobs running at the same time (0 = oo)
max_jobs = 5

PMA & mysql over shell works fine...
When i enable the debug mode in the config file i could see that the connection to the mysql has been made.
01-04-2010 03:14 PM
Find all posts by this user
Thread Closed 


Messages In This Thread
blank page after instalation - pandjie - 06-05-2011, 11:43 AM
RE: blank page after instalation - mr.x - 06-05-2011, 04:20 PM
RE: [HowTO] add cronjob on Debian Lenny Improved - MasterTH - 01-04-2010 03:14 PM

Forum Jump:


User(s) browsing this thread: 10 Guest(s)