Hi,
My poller.php is run once a minute from cron. There is a Script/Command which I'd like to run once every five minutes. Is it possible with poller.php?
The solution at the moment I have in mind is to return cacti-ized data once every 5 runs, and nothing otherwise. Will this break anything?
Thanks,
Binand
Different poll intervals for certain scripts
Moderators: Developers, Moderators
I have manually set the poller.php crontab entry to run once every minute.
Essentially, I want script1.pl to run once every poller run, and script2.pl to run once every five runs of the poller. Is this something I can do with the poller settings, or by having two different pollers (one running once a minute and the other once every five minutes), or I should code this inside script2.pl?
Binand
Essentially, I want script1.pl to run once every poller run, and script2.pl to run once every five runs of the poller. Is this something I can do with the poller settings, or by having two different pollers (one running once a minute and the other once every five minutes), or I should code this inside script2.pl?
Binand
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Not currently supported in 0.8.6
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 0 guests