| View previous topic :: View next topic |
| Author |
Message |
tobydude Voice
Joined: 06 Jun 2005 Posts: 15 Location: Norway
|
Posted: Tue Jan 31, 2006 3:08 am Post subject: |
|
|
ElZeRo.
The script works for me too. thx
It update every 6 hour. (the default setting).
If I want to choose update every 18 hour,
should I put # in front of the other time options?
like:
# automagic updating - every 6 hours by default
# MM HH D M Y
#bind time - "00 00 * * *" pisg_stats
#bind time - "00 06 * * *" pisg_stats
#bind time - "00 12 * * *" pisg_stats
bind time - "00 18 * * *" pisg_stats |
|
| Back to top |
|
 |
ElZeRo Voice
Joined: 11 Apr 2005 Posts: 24
|
Posted: Tue Jan 31, 2006 9:32 am Post subject: |
|
|
that should do it  |
|
| Back to top |
|
 |
honeybee Halfop
Joined: 01 Jan 2006 Posts: 80
|
Posted: Sat May 06, 2006 8:02 pm Post subject: |
|
|
Alchera: nice way to setup a simple shell script to do it, but what should be the crontab if i want it to check 2 times a day at 12 am and at 12 pm.
| Code: | | 0 12,24 * * * ~/public_html/pisgchek >/dev/null 2>&1 |
|
|
| Back to top |
|
 |
|