r65685 - in /branches/upstream/libschedule-at-perl/current: At.pm Changes META.yml
carnil at users.alioth.debian.org
carnil at users.alioth.debian.org
Fri Dec 10 19:33:14 UTC 2010
Author: carnil
Date: Fri Dec 10 19:32:44 2010
New Revision: 65685
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=65685
Log:
[svn-upgrade] new version libschedule-at-perl (1.11)
Modified:
branches/upstream/libschedule-at-perl/current/At.pm
branches/upstream/libschedule-at-perl/current/Changes
branches/upstream/libschedule-at-perl/current/META.yml
Modified: branches/upstream/libschedule-at-perl/current/At.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libschedule-at-perl/current/At.pm?rev=65685&op=diff
==============================================================================
--- branches/upstream/libschedule-at-perl/current/At.pm (original)
+++ branches/upstream/libschedule-at-perl/current/At.pm Fri Dec 10 19:32:44 2010
@@ -2,13 +2,16 @@
require 5.004;
-# Copyright (c) 1997-2010 Jose A. Rodriguez. All rights reserved.
+# Copyright (c) 1997-2011 Jose A. Rodriguez. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
-use vars qw($VERSION @ISA $TIME_FORMAT);
-
-$VERSION = '1.10';
+use vars qw($VERSION @ISA $TIME_FORMAT $SHELL);
+
+$VERSION = '1.11';
+
+$SHELL = '';
+
###############################################################################
# Load configuration for this OS
@@ -47,6 +50,10 @@
$command =~ s/%TIME%/$atTime/g;
$command =~ s/%FILE%/$params{FILE}/g;
+
+ if ($SHELL) {
+ $command = "SHELL=$SHELL $command";
+ }
if ($params{FILE}) {
return (system($command) / 256);
@@ -291,7 +298,18 @@
=back
+=head1 Configuration Variables
+
+=item *
+
+$Schedule::At::SHELL
+
+This variable can be used to specify shell for execution of the scheduled command.
+Can be useful for example when scheduling from CGI script and the account of the user under which httpd runs
+is locked by using '/bin/false' or similar as a shell.
+
=back
+
=head1 EXAMPLES
Modified: branches/upstream/libschedule-at-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libschedule-at-perl/current/Changes?rev=65685&op=diff
==============================================================================
--- branches/upstream/libschedule-at-perl/current/Changes (original)
+++ branches/upstream/libschedule-at-perl/current/Changes Fri Dec 10 19:32:44 2010
@@ -64,3 +64,6 @@
- Fixed bug about reporting exit status on past submited jobs
Bug: https://rt.cpan.org/Ticket/Display.html?id=55891
(based on patch submited by JLMARTIN <jlmartinez AT capisde.com>)
+
+1.11 Web Dic 9 11:40:11 CET 2010
+ - Added support for $SHELL (JiÅà Pavlovský jira AT getnet.cz)
Modified: branches/upstream/libschedule-at-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libschedule-at-perl/current/META.yml?rev=65685&op=diff
==============================================================================
--- branches/upstream/libschedule-at-perl/current/META.yml (original)
+++ branches/upstream/libschedule-at-perl/current/META.yml Fri Dec 10 19:32:44 2010
@@ -1,12 +1,20 @@
--- #YAML:1.0
-name: Schedule-At
-version: 1.10
-abstract: ~
-license: ~
-author: ~
-generated_by: ExtUtils::MakeMaker version 6.42
-distribution_type: module
-requires:
+name: Schedule-At
+version: 1.11
+abstract: ~
+author: []
+license: unknown
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
+requires: {}
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.55_02
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
More information about the Pkg-perl-cvs-commits
mailing list