Current time: 11-22-2024, 04:05 PM Hello There, Guest! (LoginRegister)


Post Reply 
CronJobs whith hCron-daemon
Author Message
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #28
RE: CronJobs whith hCron-daemon
(04-08-2010 05:48 PM)WuChEn Wrote:  If i add a CronJob,
MySQL write ARRAY into the Min /Hour / Day / Month / Weekdays.
Whats wrrong?

in /gui/client/cronjobs_add.php
comment lines

$min = explode(",", $min);
foreach($min as $k => $v)
{
$min[$k] = "TR_SELECTED_MIN_".$v;
$tpl->assign(array($min[$k] => tr('selected') ));
}

$hour = explode(",", $hour);
foreach($hour as $k=>$v)
{
$hour[$k] = "TR_SELECTED_HOUR_".$v;
$tpl->assign(array($hour[$k] => tr('selected') ));
}

$day_of_month = explode(",", $day_of_month);
foreach($day_of_month as $k=>$v)
{
$day_of_month[$k] = "TR_SELECTED_DOM_".$v;
$tpl->assign(array($day_of_month[$k] => tr('selected') ));
}

$month = explode(",", $month);
foreach($month as $k=>$v)
{
$month[$k] = "TR_SELECTED_MONTH_".$v;
$tpl->assign(array($month[$k] => tr('selected') ));
}

$day_of_week = explode(",", $day_of_week);
foreach($day_of_week as $k=>$v)
{
$day_of_week[$k] = "TR_SELECTED_DOW_".$v;
$tpl->assign(array($day_of_week[$k] => tr('selected') ));
}
04-09-2010 05:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: CronJobs whith hCron-daemon - BeNe - 10-13-2009, 04:19 AM
RE: CronJobs whith hCron-daemon - MasterTH - 10-13-2009, 02:37 PM
RE: CronJobs whith hCron-daemon - morb - 10-17-2009, 11:42 AM
RE: CronJobs whith hCron-daemon - WuChEn - 11-04-2009, 09:45 PM
RE: CronJobs whith hCron-daemon - gOOvER - 11-04-2009, 09:48 PM
RE: CronJobs whith hCron-daemon - morb - 11-05-2009, 10:54 AM
RE: CronJobs whith hCron-daemon - WuChEn - 11-05-2009, 08:36 PM
RE: CronJobs whith hCron-daemon - WuChEn - 12-07-2009, 07:11 PM
RE: CronJobs whith hCron-daemon - Boter - 03-19-2010, 09:20 AM
RE: CronJobs whith hCron-daemon - tango - 04-07-2010, 03:32 PM
RE: CronJobs whith hCron-daemon - WuChEn - 04-08-2010, 05:48 PM
RE: CronJobs whith hCron-daemon - data-stream_ru - 04-09-2010 05:53 AM
RE: CronJobs whith hCron-daemon - WuChEn - 04-09-2010, 04:30 PM
RE: CronJobs whith hCron-daemon - WuChEn - 04-09-2010, 09:07 PM
RE: CronJobs whith hCron-daemon - WuChEn - 04-16-2010, 04:44 AM
RE: CronJobs whith hCron-daemon - Boter - 08-12-2010, 01:30 AM
RE: CronJobs whith hCron-daemon - Mafios_X - 03-10-2013, 09:48 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)