Could someone enlighten me about the status of cronjobs ?

There seems to be the PHP cronjobs handled as FF cron job utilities and
listed in common/include/cron_utils.php
and older Perl scripts.

In my setting, I have for example
/usr/share/gforge/cronjobs/project_cleanup.php
but I don't have /usr/share/gforge/cronjobs/homedirs.php

However, instead of homedirs.php, I have /usr/share/gforge/bin/
group_dump_update.pl which does part of the homedirs.php job.

Is that correct ? I'm running Debian 7.0 .

Fabrice


2013/9/3 Fabrice Popineau <[email protected]>

>
> Ok, thanks for making me much less nervous :-)
> I tried to find when it was dropped but couldn't trace it back.
>
> However, this table is still referenced in bin/group_dump_update.pl
>
>   20 # Dump the Groups Table information
>   21 $query = "select
> group_id,group_id+".$gid_add.",unix_group_name,status,is_public from
> groups";
>   22 $c = $dbh->prepare($query);
>   23 $c->execute();
>   24
>   25 while(my ($group_id, $unix_gid, $group_name, $status, $is_public) =
> $c->fetchrow()) {
>   26
>   27         my $new_query = "select users.user_name AS user_name FROM
> users,user_group WHERE users.user_id=user_group.user_id AND
> group_id=$group_id";
>   28         my $d = $dbh->prepare($new_query);
>   29         $d->execute();
>   30
>   31         my $user_list = "";
>   32
>   33         while($user_name = $d->fetchrow()) {
>   34            $user_list .= "$user_name,";
>   35         }
>   36
>   37         $grouplist =
> "$group_name:$status:$unix_gid:$is_public:$user_list\n";
>   38         $grouplist =~ s/,$//;
>   39
>   40         push @group_array, $grouplist;
>   41 }
>
> Is there some simple way to change the request ?
>
> Best regards,
>
> 2013/9/3 Thorsten Glaser <[email protected]>
>
>> On Tue, 3 Sep 2013, Fabrice Popineau wrote:
>>
>> > I seem to miss the 'user_group' table in my DB and I have no idea when
>> it
>>
>> It’s gone, we use PFO-RBAC now which obsoleted that table.
>> You do not need it.
>>
>> bye,
>> //mirabilos
>> PS: سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امارتيخ ̷̴̐خ
>> --
>> tarent solutions GmbH
>> Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
>> Tel: +49 228 54881-393 • Fax: +49 228 54881-314
>> HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
>> Geschäftsführer: Boris Esser, Sebastian Mancke
>>
>
>
>
> --
> Fabrice Popineau
> -----------------------------
> SUPELEC
> Département Informatique
> 3, rue Joliot Curie
> 91192 Gif/Yvette Cedex
> Tel direct : +33 (0) 169851950
> Standard : +33 (0) 169851212
> ------------------------------
>
>


-- 
Fabrice Popineau
-----------------------------
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
------------------------------
_______________________________________________
Fusionforge-general mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-general

Reply via email to