PDA

View Full Version : Disable Scheduled Task (crontab) in AdminCP without deleting


mtha
04-19-2005, 10:00 PM
[ACP] Disable Scheduled Task

DESCRIPTION:
This hack allow you to disable/enable some cronjob in Scheduled Tasks list, without removing the job


CHANGES/MODIFICATION:
- Table to modify: 1 (cron) with a query
- File to edit: 2 (/admincp/cronadmin.php /includes/functions_cron.php)

DIFFICULTY: Easy
Time: about 2-4 minutes

INSTALLATION:

------------
1. RUN THIS QUERY
------------
-------------
2. FOLLOW instruction in the edit files part
-------------

NOTE: I leave phrase "Active" hardcored. If you want to add to phrase or translate it, just make changes in cronadmin.php

mtha
04-20-2005, 06:04 PM
reserved - reserved

nexialys
04-20-2005, 06:54 PM
good idea... always good to deactivate instead of deleting...

btw, would be better to have your instructions in a text file (.txt) instead of that strange name.. ;)

twoseven
04-20-2005, 07:06 PM
it comes up as a winamp file here

mtha
04-20-2005, 08:32 PM
good idea... always good to deactivate instead of deleting...

btw, would be better to have your instructions in a text file (.txt) instead of that strange name.. ;)

:) renamed. Since I generate the file, using a program called ModEditor, it;s the programs' default extension. the program helps automatically edit files for me :D

Cyricx
04-20-2005, 08:57 PM
Ooo very nice mod!

c0d3x
10-03-2005, 08:42 PM
is there something similar for vb 3.5 ??

mtha
10-05-2005, 01:08 AM
yes, if you want, i can release one when I get home

Andreas
10-05-2005, 01:11 AM
That would be nice - especially if it can be implemented as a Plugin or Extension :)

c0d3x
10-05-2005, 05:09 AM
yes, it would be very nice ;) thanks :)

c0d3x
10-08-2005, 01:16 PM
any news? ;)