• Home
  • Shell
    • Emacs
    • Perl
    • screen
    • sed
  • Ubuntu
    • VNC
  • Web Development
    • Javascript
    • Joomla
    • MySQL
    • osTicket
  • Windows
    • Gimp

Posts tagged reload

osTicket> Refresh ticket page every N seconds (1.6RC5)

Aug07
2012
Written by Scott Rowley

Just a simple one today to show you how to get the ticket page to automatically refresh itself every n seconds:

scp/tickets.php
Insert the following just after the requires at the top of the file:

define('MAIN_PAGE',1);
if(defined('MAIN_PAGE') && !isset($_GET['id']) && !isset($_GET['status']) && !isset($_GET['a'])) {
echo "<meta http-equiv='refresh' content='60'>";
}

*60 seconds is my recommendation, you can of course change this number as desired.

Posted in osTicket, Web Development - Tagged content, meta, osTicket, page, refresh, seconds, ticket

Linux> Aliases

Jun08
2011
Written by Scott Rowley

Aliases can be a great way to more easily remember an oddball command or to shorten a long command. Aliases are stored in your .profile (or .bash_profile) or within a include file referenced from .profile.

A couple of quick examples before showing how to set them up:
READ MORE »

Posted in BASH, Ubuntu - Tagged alias, basic, conditional, epoch, ggrep, grep, if, include, linux, Perl, print, profile, solaris, time, ubuntu, unix, whois

Corrections? Questions? Comments?

Find an error?
Everything work out great for you?
Have some feedback?
Like to see something added to the article?

PLEASE leave us a comment after the article and let us know how we are doing, or if something needs corrected, improved or clarified.

Thank you!
- The Management

Advertisement

Sudo Bash
By Geeks - For Geeks

Back to Top