Denis Alves
12/07/2020, 08:26 PM
Olá gente!
Venho postar essa JOB que possa ser útil para alguns. Ela retira o VIP das contas de quem utiliza a Web Morpheus postada, só que em plataformas diferentes do MuEMU que não utilizem o sistema de verificação de contas como tem na mesma.
Acredito que tenham outros métodos mais fáceis, eu admito, mas esse funciona. Resumindo o que acontece, a cada 7 minutos ela faz verificação no banco de dados para ver quais as contas que já passaram do prazo do VIP acabar e retorna para FREE (Default 0).
USE [msdb]
GO
/****** Object: Job [Vip system] Script Date: 12/01/2019 11:32:52 ******/
BEGIN TRANSACTION
[Only registered and activated users can see links]
[Only registered and activated users can see links]
/****** Object: JobCategory [[Uncategorized (Local)]]] Script Date: 12/01/2019 11:32:52 ******/
IF NOT EXISTS (SELECT name FROM msdb.dbo.syscategories WHERE name=N'[Uncategorized (Local)]' AND category_class=1)
BEGIN
[Only registered and activated users can see links]
[Only registered and activated users can see links]
END
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
/****** Object: Step [Vip System] Script Date: 12/01/2019 11:32:53 ******/
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
COMMIT TRANSACTION
GOTO EndSave
QuitWithRollback:
[Only registered and activated users can see links]
EndSave:
GO
Obs.: Aonde está em destaque mude para o caminho do seu usuário administrativo e banco de dados utilizado para criar a JOB automaticamente.
Creditos: Denis :)
Venho postar essa JOB que possa ser útil para alguns. Ela retira o VIP das contas de quem utiliza a Web Morpheus postada, só que em plataformas diferentes do MuEMU que não utilizem o sistema de verificação de contas como tem na mesma.
Acredito que tenham outros métodos mais fáceis, eu admito, mas esse funciona. Resumindo o que acontece, a cada 7 minutos ela faz verificação no banco de dados para ver quais as contas que já passaram do prazo do VIP acabar e retorna para FREE (Default 0).
USE [msdb]
GO
/****** Object: Job [Vip system] Script Date: 12/01/2019 11:32:52 ******/
BEGIN TRANSACTION
[Only registered and activated users can see links]
[Only registered and activated users can see links]
/****** Object: JobCategory [[Uncategorized (Local)]]] Script Date: 12/01/2019 11:32:52 ******/
IF NOT EXISTS (SELECT name FROM msdb.dbo.syscategories WHERE name=N'[Uncategorized (Local)]' AND category_class=1)
BEGIN
[Only registered and activated users can see links]
[Only registered and activated users can see links]
END
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
/****** Object: Step [Vip System] Script Date: 12/01/2019 11:32:53 ******/
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
COMMIT TRANSACTION
GOTO EndSave
QuitWithRollback:
[Only registered and activated users can see links]
EndSave:
GO
Obs.: Aonde está em destaque mude para o caminho do seu usuário administrativo e banco de dados utilizado para criar a JOB automaticamente.
Creditos: Denis :)