Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

create cron jobs to run scripts 

Jun 06, 2014 06:35 PM

In this example we use ignore_rogues_by_ssid_wildcard.pl .

Here are instructions for adding the ignore rogue script to crontab 

1. Edit the crontab file to add the script 
#crontab -e

Add the following line: (to run the script at 9 am)
0 09 * * * /var/airwave/custom/ignore_rogues_by_ssid_wildcard.pl /var/airwave/custom/input.csv ( full path to input .csv file) (save and exit just like vi)

2. Restart the crond service to apply the changes
#service crond stop
#service crond start

Here is more examples on the crontab file format:

In the example below the script gets executed every day at 9 am: 

# minute (0-59), 
# | hour (0-23), 
# | | day of the month (1-31), 
# | | | month of the year (1-12), 
# | | | | day of the week (0-7 with 0=7=Sunday). 
# | | | | | command(s)
# | | | | | |
0 9 * * * /var/airwave/custom/ignore_rogues_by_ssid_wildcard.pl /var/airwave/custom/input.csv
In this example we use ignore_rogues_by_ssid_wildcard.pl .

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.