delete cute chat log automaticaly

Last post 01-24-2011, 2:33 AM by tajamal. 2 replies.
Sort Posts: Previous Next
  •  01-21-2011, 4:20 AM 65816

    delete cute chat log automaticaly

    Hi ,
     
    I know you can manually delete chat log from db from chat administration page, but i want to delete the chat  log automatically  , is there a way?
     
    Kind regards
  •  01-21-2011, 8:37 AM 65824 in reply to 65816

    Re: delete cute chat log automaticaly

    Dear tajamal,
     
    You can create a stored procedure which deletes the data you wish to delete.
    Next create a job which executes the stored procedure. You can schedule the job to run once a week, or on any day in the week you wish.
    A new job can be created in SQL Server Agent.To tell the job to execute your stored procedure:
    Add a new step. Give it a name like 'Step 1: delete data from myTable'. Select the right database. In command box type: EXEC the_name_of_your_stored_procedure
     
    Thank you for asking
  •  01-24-2011, 2:33 AM 65843 in reply to 65824

    Re: delete cute chat log automaticaly

    Thanks Eric, That's what i had in mind to do next.  I was fishing after something in cutechat itselft, caus it saves a log in table so i thought it will be obvious to delete the chat at a given time too from cutechat itself.
     
    Kind regards
    Tajamal
View as RSS news feed in XML