Page 1 of 1

List of ticket

Posted: Tue Oct 23, 2012 9:50 am
by danonee
hi all,

i would to know if is possible to add a new column in the home page of hesk . i need it for order the ticket by a personalized field that i have created.
i have another two question :) .
i create two different account using the same email but when i enter whit the different account the sitem kick out the other and the ticket are divided automaticaly without any reason.
the other question is:
i read a topic in this site where u talk about automatic backup. i follow the instruction but i'm in trouble when i read to write a line comand in Cpanel. i use this program only in local server whit easy php and i don't know how to make this.

thank you and sorry for the english but im italian :D

Re: List of ticket

Posted: Tue Oct 23, 2012 4:09 pm
by steve
To modify your ticket list see this thread.

As for the backup, why not just use a batch file and windows sheduled task to copy your www folders?

Re: List of ticket

Posted: Wed Oct 24, 2012 7:21 am
by danonee
thx a lot for the answer!!! u also know the batch code for do this?

Re: List of ticket

Posted: Thu Oct 25, 2012 12:39 am
by steve
Here is how I would do it.

Create a file called backup.bat, inside place the following

Code: Select all

@echo off
set mydate=%date:~4,2%_%date:~7,2%_%date:~10,4%
copy "F:\whereever\thafile.bak" "F:\whereever\thatfile_%mydate%.bak"
call delete.bat
This will copy the file from one direcrtory to another and attache the current date to the end of the file name.

Next create another file called delete.bat, inside place the following

Code: Select all

FORFILES /p F:\MSSQL\Backup\7DayBackupArchive\ /m *.bak* /d -7 /c "CMD /C del @file"

This will delete all files with a .bak extension that are older than 7 days. Just change the ".bak" to whatever you want and the "-7" to however long you want to archive for.

You will need to download forfiles here and copy it to you \windows\system32 path. I also keep a copy of it in the directory I store the batch files.

Now create a windows scheduled task to run the backup.bat file.

Re: List of ticket

Posted: Thu Oct 25, 2012 4:07 pm
by danonee
i create two different account using the same email but when i enter whit the different account the sitem kick out the other and the ticket are divided automaticaly without any reason.

and any hint about this ? do u know anything?

Re: List of ticket

Posted: Thu Oct 25, 2012 6:20 pm
by steve
I'm afraid that's a Klemen question.