| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
(#1)
|
(#2)
|
(#3)
|
| Member Posts: 57 Join Date: Jan 2008 |
15-04-2008, 06:58 PM
The attached is a perl script, save it with the .pl extension name. I have only tested this on a Linux box, so Windows users might have some issues. Would be nice if any Windows users got it running and posted results + how they did it. HOW TO SET UP THE SCRIPT: 1- Copy this code into a file on the Linux box 2- chmod 755 the file 3- open a cron file with this command: crontab -e (You don't need to be root but make sure you can run cron jobs) * cron - Wikipedia, the free encyclopedia if you need help with the cron timing 4- enter in the cron something like this ## Used to check the disk space and send an email to support if over 90% 0 1 * * * perl /path/to/checkDiskSpace.pl / if you need to configure more than 1 disk then pass the disk location as a parameter. EXAMPLE: 0 1 * * * perl /path/to/checkDiskSpace.pl / (Root Location) 0 1 * * * perl /path/to/checkDiskSpace.pl /DiskName (Second Disk) 5- Save the crontab file with this command :wq If you need to edit the cron file again or would like to test with more times just use the crontab -e command again. |
| | |
![]() |
| Tags |
| custom, forcing, rule, ticket |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mail parser -> Rules -> Rule to attach custom field group to ticket automatically | Jamie Edwards | Will Implement (V4) | 0 | 18-08-2007 04:45 PM |
| New Build: 3.10.02 STABLE | Ryan Lederman | News and Announcements | 0 | 05-03-2007 09:53 PM |
| Kayako SupportSuite v3.04.10 Stable Build | Varun Shoor | News and Announcements | 2 | 06-10-2006 09:41 PM |
| Merging Custom Fields in ViewTicket of Staff | Mick | SupportSuite, eSupport and LiveResponse | 0 | 21-09-2006 04:48 PM |