initial commit of file from CVS for smeserver-crontab_manager on Sat Sep 7 19:49:50 AEST 2024
This commit is contained in:
parent
d2d18ea975
commit
a19dbaf21f
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
*.rpm
|
||||||
|
*.log
|
||||||
|
*spec-20*
|
||||||
|
*.tar.xz
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Makefile for source rpm: smeserver-crontab_manager
|
||||||
|
# $Id: Makefile,v 1.1 2020/10/11 06:30:19 brianr Exp $
|
||||||
|
NAME := smeserver-crontab_manager
|
||||||
|
SPECFILE = $(firstword $(wildcard *.spec))
|
||||||
|
|
||||||
|
define find-makefile-common
|
||||||
|
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||||
|
|
||||||
|
ifeq ($(MAKEFILE_COMMON),)
|
||||||
|
# attept a checkout
|
||||||
|
define checkout-makefile-common
|
||||||
|
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||||
|
endif
|
||||||
|
|
||||||
|
include $(MAKEFILE_COMMON)
|
14
README.md
14
README.md
@ -1,3 +1,15 @@
|
|||||||
# smeserver-crontab_manager
|
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> smeserver-crontab_manager
|
||||||
|
|
||||||
SMEServer Koozali developed git repo for smeserver-crontab_manager smecontribs
|
SMEServer Koozali developed git repo for smeserver-crontab_manager smecontribs
|
||||||
|
|
||||||
|
## Wiki
|
||||||
|
<br />https://wiki.koozali.org/
|
||||||
|
|
||||||
|
## Bugzilla
|
||||||
|
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-crontab_manager&product=SME%20Contribs&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
|
||||||
|
*Once it has been checked, then this comment will be deleted*
|
||||||
|
<br />
|
||||||
|
340
additional/COPYING
Normal file
340
additional/COPYING
Normal file
@ -0,0 +1,340 @@
|
|||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your
|
||||||
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
|
License is intended to guarantee your freedom to share and change free
|
||||||
|
software--to make sure the software is free for all its users. This
|
||||||
|
General Public License applies to most of the Free Software
|
||||||
|
Foundation's software and to any other program whose authors commit to
|
||||||
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
|
the GNU Library General Public License instead.) You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
this service if you wish), that you receive source code or can get it
|
||||||
|
if you want it, that you can change the software or use pieces of it
|
||||||
|
in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid
|
||||||
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
|
These restrictions translate to certain responsibilities for you if you
|
||||||
|
distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
|
you have. You must make sure that they, too, receive or can get the
|
||||||
|
source code. And you must show them these terms so they know their
|
||||||
|
rights.
|
||||||
|
|
||||||
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
|
distribute and/or modify the software.
|
||||||
|
|
||||||
|
Also, for each author's protection and ours, we want to make certain
|
||||||
|
that everyone understands that there is no warranty for this free
|
||||||
|
software. If the software is modified by someone else and passed on, we
|
||||||
|
want its recipients to know that what they have is not the original, so
|
||||||
|
that any problems introduced by others will not reflect on the original
|
||||||
|
authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software
|
||||||
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
|
program will individually obtain patent licenses, in effect making the
|
||||||
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
|
patent must be licensed for everyone's free use or not licensed at all.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License applies to any program or other work which contains
|
||||||
|
a notice placed by the copyright holder saying it may be distributed
|
||||||
|
under the terms of this General Public License. The "Program", below,
|
||||||
|
refers to any such program or work, and a "work based on the Program"
|
||||||
|
means either the Program or any derivative work under copyright law:
|
||||||
|
that is to say, a work containing the Program or a portion of it,
|
||||||
|
either verbatim or with modifications and/or translated into another
|
||||||
|
language. (Hereinafter, translation is included without limitation in
|
||||||
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not
|
||||||
|
covered by this License; they are outside its scope. The act of
|
||||||
|
running the Program is not restricted, and the output from the Program
|
||||||
|
is covered only if its contents constitute a work based on the
|
||||||
|
Program (independent of having been made by running the Program).
|
||||||
|
Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Program's
|
||||||
|
source code as you receive it, in any medium, provided that you
|
||||||
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
|
notices that refer to this License and to the absence of any warranty;
|
||||||
|
and give any other recipients of the Program a copy of this License
|
||||||
|
along with the Program.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
|
you may at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Program or any portion
|
||||||
|
of it, thus forming a work based on the Program, and copy and
|
||||||
|
distribute such modifications or work under the terms of Section 1
|
||||||
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) You must cause the modified files to carry prominent notices
|
||||||
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
b) You must cause any work that you distribute or publish, that in
|
||||||
|
whole or in part contains or is derived from the Program or any
|
||||||
|
part thereof, to be licensed as a whole at no charge to all third
|
||||||
|
parties under the terms of this License.
|
||||||
|
|
||||||
|
c) If the modified program normally reads commands interactively
|
||||||
|
when run, you must cause it, when started running for such
|
||||||
|
interactive use in the most ordinary way, to print or display an
|
||||||
|
announcement including an appropriate copyright notice and a
|
||||||
|
notice that there is no warranty (or else, saying that you provide
|
||||||
|
a warranty) and that users may redistribute the program under
|
||||||
|
these conditions, and telling the user how to view a copy of this
|
||||||
|
License. (Exception: if the Program itself is interactive but
|
||||||
|
does not normally print such an announcement, your work based on
|
||||||
|
the Program is not required to print an announcement.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If
|
||||||
|
identifiable sections of that work are not derived from the Program,
|
||||||
|
and can be reasonably considered independent and separate works in
|
||||||
|
themselves, then this License, and its terms, do not apply to those
|
||||||
|
sections when you distribute them as separate works. But when you
|
||||||
|
distribute the same sections as part of a whole which is a work based
|
||||||
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
|
this License, whose permissions for other licensees extend to the
|
||||||
|
entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
|
exercise the right to control the distribution of derivative or
|
||||||
|
collective works based on the Program.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Program
|
||||||
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
|
a storage or distribution medium does not bring the other work under
|
||||||
|
the scope of this License.
|
||||||
|
|
||||||
|
3. You may copy and distribute the Program (or a work based on it,
|
||||||
|
under Section 2) in object code or executable form under the terms of
|
||||||
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
|
source code, which must be distributed under the terms of Sections
|
||||||
|
1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
b) Accompany it with a written offer, valid for at least three
|
||||||
|
years, to give any third party, for a charge no more than your
|
||||||
|
cost of physically performing source distribution, a complete
|
||||||
|
machine-readable copy of the corresponding source code, to be
|
||||||
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
|
customarily used for software interchange; or,
|
||||||
|
|
||||||
|
c) Accompany it with the information you received as to the offer
|
||||||
|
to distribute corresponding source code. (This alternative is
|
||||||
|
allowed only for noncommercial distribution and only if you
|
||||||
|
received the program in object code or executable form with such
|
||||||
|
an offer, in accord with Subsection b above.)
|
||||||
|
|
||||||
|
The source code for a work means the preferred form of the work for
|
||||||
|
making modifications to it. For an executable work, complete source
|
||||||
|
code means all the source code for all modules it contains, plus any
|
||||||
|
associated interface definition files, plus the scripts used to
|
||||||
|
control compilation and installation of the executable. However, as a
|
||||||
|
special exception, the source code distributed need not include
|
||||||
|
anything that is normally distributed (in either source or binary
|
||||||
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
|
operating system on which the executable runs, unless that component
|
||||||
|
itself accompanies the executable.
|
||||||
|
|
||||||
|
If distribution of executable or object code is made by offering
|
||||||
|
access to copy from a designated place, then offering equivalent
|
||||||
|
access to copy the source code from the same place counts as
|
||||||
|
distribution of the source code, even though third parties are not
|
||||||
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
|
except as expressly provided under this License. Any attempt
|
||||||
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
|
void, and will automatically terminate your rights under this License.
|
||||||
|
However, parties who have received copies, or rights, from you under
|
||||||
|
this License will not have their licenses terminated so long as such
|
||||||
|
parties remain in full compliance.
|
||||||
|
|
||||||
|
5. You are not required to accept this License, since you have not
|
||||||
|
signed it. However, nothing else grants you permission to modify or
|
||||||
|
distribute the Program or its derivative works. These actions are
|
||||||
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
|
modifying or distributing the Program (or any work based on the
|
||||||
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
|
all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Program or works based on it.
|
||||||
|
|
||||||
|
6. Each time you redistribute the Program (or any work based on the
|
||||||
|
Program), the recipient automatically receives a license from the
|
||||||
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
|
these terms and conditions. You may not impose any further
|
||||||
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
|
You are not responsible for enforcing compliance by third parties to
|
||||||
|
this License.
|
||||||
|
|
||||||
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues),
|
||||||
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot
|
||||||
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you
|
||||||
|
may not distribute the Program at all. For example, if a patent
|
||||||
|
license would not permit royalty-free redistribution of the Program by
|
||||||
|
all those who receive copies directly or indirectly through you, then
|
||||||
|
the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under
|
||||||
|
any particular circumstance, the balance of the section is intended to
|
||||||
|
apply and the section as a whole is intended to apply in other
|
||||||
|
circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any
|
||||||
|
patents or other property right claims or to contest validity of any
|
||||||
|
such claims; this section has the sole purpose of protecting the
|
||||||
|
integrity of the free software distribution system, which is
|
||||||
|
implemented by public license practices. Many people have made
|
||||||
|
generous contributions to the wide range of software distributed
|
||||||
|
through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
|
to distribute software through any other system and a licensee cannot
|
||||||
|
impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to
|
||||||
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
|
original copyright holder who places the Program under this License
|
||||||
|
may add an explicit geographical distribution limitation excluding
|
||||||
|
those countries, so that distribution is permitted only in or among
|
||||||
|
countries not thus excluded. In such case, this License incorporates
|
||||||
|
the limitation as if written in the body of this License.
|
||||||
|
|
||||||
|
9. The Free Software Foundation may publish revised and/or new versions
|
||||||
|
of the General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program
|
||||||
|
specifies a version number of this License which applies to it and "any
|
||||||
|
later version", you have the option of following the terms and conditions
|
||||||
|
either of that version or of any later version published by the Free
|
||||||
|
Software Foundation. If the Program does not specify a version number of
|
||||||
|
this License, you may choose any version ever published by the Free Software
|
||||||
|
Foundation.
|
||||||
|
|
||||||
|
10. If you wish to incorporate parts of the Program into other free
|
||||||
|
programs whose distribution conditions are different, write to the author
|
||||||
|
to ask for permission. For software which is copyrighted by the Free
|
||||||
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||||
|
make exceptions for this. Our decision will be guided by the two goals
|
||||||
|
of preserving the free status of all derivatives of our free software and
|
||||||
|
of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||||
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||||
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||||
|
REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||||
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||||
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||||
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||||
|
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||||
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
convey the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) 19yy <name of author>
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program is interactive, make it output a short notice like this
|
||||||
|
when it starts in an interactive mode:
|
||||||
|
|
||||||
|
Gnomovision version 69, Copyright (C) 19yy name of author
|
||||||
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, the commands you use may
|
||||||
|
be called something other than `show w' and `show c'; they could even be
|
||||||
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or your
|
||||||
|
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||||
|
necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
|
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
|
|
||||||
|
<signature of Ty Coon>, 1 April 1989
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
This General Public License does not permit incorporating your program into
|
||||||
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
|
consider it more useful to permit linking proprietary applications with the
|
||||||
|
library. If this is what you want to do, use the GNU Library General
|
||||||
|
Public License instead of this License.
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@ -0,0 +1 @@
|
|||||||
|
contribs10
|
23
createlinks
Normal file
23
createlinks
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#!/usr/bin/perl -w
|
||||||
|
use esmith::Build::CreateLinks qw(:all);
|
||||||
|
# our event specific for updating with yum without reboot
|
||||||
|
$event = 'smeserver-crontab_manager-update';
|
||||||
|
#add here the path to your templates needed to expand
|
||||||
|
#see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event
|
||||||
|
|
||||||
|
foreach my $file (qw(
|
||||||
|
/etc/systemd/system-preset/49-koozali.preset
|
||||||
|
))
|
||||||
|
{
|
||||||
|
templates2events( $file, $event );
|
||||||
|
}
|
||||||
|
#action needed in case we have a systemd unit
|
||||||
|
event_link('systemd-default', $event, '10');
|
||||||
|
event_link('systemd-reload', $event, '50');
|
||||||
|
#action specific to this package
|
||||||
|
#event_link('action', $event, '30');
|
||||||
|
#services we need to restart
|
||||||
|
#safe_symlink('restart', 'root/etc/e-smith/events/$event/services2adjust/<service>)
|
||||||
|
#and Server Mmanager panel link
|
||||||
|
panel_link('cronmanager', 'manager');
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
configuration
|
34
root/etc/e-smith/events/actions/cron-update
Executable file
34
root/etc/e-smith/events/actions/cron-update
Executable file
@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
# copyright (C) 1999-2003 Mitel Networks Corporation
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
#
|
||||||
|
# Technical support for this program is available from Mitel Networks
|
||||||
|
# Please visit our web site www.mitel.com/sme/ for details.
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
package esmith;
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
use Errno;
|
||||||
|
use esmith::templates;
|
||||||
|
|
||||||
|
esmith::templates::processTemplate ({
|
||||||
|
TEMPLATE_PATH => "/etc/crontab",
|
||||||
|
PERMS => 0644
|
||||||
|
});
|
||||||
|
|
||||||
|
exit (0);
|
44
root/etc/e-smith/events/actions/reload-cron
Executable file
44
root/etc/e-smith/events/actions/reload-cron
Executable file
@ -0,0 +1,44 @@
|
|||||||
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
# copyright (C) 1999-2001 e-smith, inc.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
#
|
||||||
|
# Technical support for this program is available from e-smith, inc.
|
||||||
|
# Please visit our web site www.e-smith.com for details.
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
package esmith;
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
use Errno;
|
||||||
|
use esmith::config;
|
||||||
|
use esmith::util;
|
||||||
|
use esmith::db;
|
||||||
|
|
||||||
|
my %conf;
|
||||||
|
tie %conf, 'esmith::config';
|
||||||
|
|
||||||
|
esmith::util::serviceControl
|
||||||
|
(
|
||||||
|
NAME => 'crond',
|
||||||
|
ACTION => 'restart',
|
||||||
|
BACKGROUND => 'false'
|
||||||
|
) ||
|
||||||
|
die "Couldn't reload crond";
|
||||||
|
|
||||||
|
exit (0);
|
||||||
|
|
0
root/etc/e-smith/events/cron-update/S00Cron-update
Executable file
0
root/etc/e-smith/events/cron-update/S00Cron-update
Executable file
0
root/etc/e-smith/events/cron-update/S10reload-cron
Executable file
0
root/etc/e-smith/events/cron-update/S10reload-cron
Executable file
234
root/etc/e-smith/locale/bg/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/bg/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="bg">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Управление на crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> Този панел позволява да добавяте, променяте и изтривате задачи в crontab</p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Добави нов crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>Ново показване</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>Всички записи</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Потребителски записи</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Минути</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Всяка минута</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Часове</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Всеки час</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Ден</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Всеки ден</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Месец</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Ден от седмицата</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Потребител</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Команда</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Всяка минута</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Всеки час</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Всеки ден</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Всеки месец</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Всеки ден от седмицата</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Понеделник</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Вторник</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Сряда</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Четвъртък</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Петък</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Събота</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Неделя</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>януари</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>февруари</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>март</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>април</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>май</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>юни</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>юли</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>август</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>септември</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>октомври</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>ноември</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>декември</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Промени</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Изтрии</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ минути:<br> '0' е първата минута, т.е. 2.00 противно на '1' е 2.01<br> БЕЛЕЖКА: ТРЯБВА да изберете минута тук, ако не искате a cron да се изпълнява ВСЯКА МИНУТА! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>изберете всяка минута</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ часове:<br> '0' е полунощ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Изберете дали искате cron да се изпълнява всеки ден, всеки x дни или на x-тия ден от месеца. Както и да изберете стойност тук, <br> можете да изберете ден от седмицата в полето долу и той ще се изпълнява както на този ден, и в дните които сте избрали тук. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>месец:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ ден от седмицата:<br> Изберете ден от седмицата ако искате да изпълните script в определени дни, например всеки понеделник. Ако сте избрали стойности в полето <br> 'дни' по-горе, командата ще се изпълни както на xx ден от избрания месец, ТАКА И е деня/дните от седмицата посочени тук]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ команда за изпълнение:<br> Въведете команда която искате да изпълните. Това може да е път към скрипт, или 'специална' команда. Ако не сте сигурни за пътя до файла/скрипта на сървъра, направете SSH или telnet до сървъра и отидете до папката, където е файла. Напишете 'pwd' в командния ред, това ще Ви покаже сървърни път до папката, където е скрипта. Добавете името на файла след това, и това използвайте по-горе.<br> Можете да въведете команда направо вместо да входната точка за скрипт.<br> <br> примери за това са:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>изберете всеки час</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>изберете всеки ден</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Създаване или промяна на елемент в crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Запис</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Успешно променен crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Успешно създаден нов елемент в crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Изтрии</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Изтриване на елемент в crontab<br><br><strong>Сигурни ли сте, че искате да изтриете този елемент в crontab???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Успешно изтрит елемент в crontab</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/da/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/da/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="da">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> I dette panel kan du tilføje, ændre eller slette crontab jobs </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Tilføj en ny crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>Ny visning</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>Alle data</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Brugerdata</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutter</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Hvert minut</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Timer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Hver time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Dag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Hver dag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Måned</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Ugedag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Bruger</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Kommando</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Hvert minut</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Hver time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Hver dag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Hver måned</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Hver dag i ugen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Mandag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tirsdag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Onsdag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Torsdag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Fredag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Lørdag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Søndag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>januar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>februar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>marts</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>maj</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>juni</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>juli</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>oktober</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Ændre</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Slet</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutter:<br> '0' er det første minut, f.eks. 2.00 i modsætning til '1' som er 2.01<br> BEMÆRK: Du SKAL vælge en værdi her, med mindre du ønsker at cron skal køre HVERT ENESTE MINUT! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>vælg hvert minut</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ timer:<br> '0' er midnat, '12' er middag og '22' er kl. 10 om aftenen ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Vælg om du ønsker at køre cron alle dage, hvor x'te dag eller den x'te dag i måneden. Ud over alt vælge en værdi her, <br> kan du også vælge en dag i ugen i feltet længere nede, og så vil cron køre på alle de dage du væger her og der. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>måned:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ dag i ugen: <br> Vælg den dag i ugen hvis du ønsker at afvikle scriptet på bestemte dage, f.eks. hver mandag. Hvis du har indsat værdier <br> 'dag' feltet foroven, så vil kommandoen blive afviklet både på den xx'te i måneden OG den/de dag/dage i ugen du har valgt her ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ kommando som skal afvikles:<br> Indtast den kommando som du ønsker skal afvikles. Det kan enten være stien til et script, eller en 'speciel' kommando. Hvis du ikke kender serverstien til filen/scriptet, så tilgå serveren via SSH eller telnet og naviger til den mappe hvor filen er. Indtast 'pwd' i prompten, og du vil få serverstien til den mappe hvor du står. Tilføj filnavnet til enden af serverstien, og det er hvad du skal bruge ovenfor. <br> Du kan indtaste en kommando direkte i stedet for at pege på et script.<br> <br> eksempler på indtastninger i dette felt:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>vælg hvert minut</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>vælg alle dage</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Opret eller ændr en crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Gem</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab er opdateret</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Der er oprettet en ny crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Slet</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Slet en crontab<br><br><strong>Er du sikker på, at du vil slette denne crontab???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab er slettet</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/de/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/de/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="de">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab-Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> Dieses Panel ermöglicht es eine Crontab-Aufgabe hinzuzufügen, zu ändern oder zu löschen </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Erzeuge einen neuen Crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>Neue Anzeige</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>Alle Aufzeichnungen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Benutzer-Protokolle</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minuten</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Jede Minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Stunden</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Jede Stunde</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Tag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Jeden Tag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Monat</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Wochentag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Benutzer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Befehl</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Jede Minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Jede Stunde</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Jeden Tag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Jeden Monat</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Jeden Tag der Woche</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Montag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Dienstag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Mittwoch</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Donnerstag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Freitag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Samstag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sonntag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>Januar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>Februar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>März</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>April</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>Mai</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>Juni</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>Juli</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>August</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>September</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>Oktober</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>November</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>Dezember</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Ändern</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Löschen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ Minuten:<br> '0' ist die erste Minute, z. B. 2.00 im Gegensatz zu '1' als 2.01<br> Hinweis: Sie MÜSSEN hier eine Minute wählen, wenn Sie verhindern möchten, dass der cronjob jede Minute ausgeführt wird! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>wähle jede Minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ Stunden:<br> Angabe im 24h-Format: '0' entspricht Mitternacht. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ Tag:<br>Wählen Sie, ob der Cronjob täglich, alle x Tage oder am x-ten Tag jedes Monates ausgeführt werden soll. Zusätzlich zu dem Wert den Sie hier angeben können Sie weiter unten einen festen Wochentag angeben. In diesem Fall wird der Cronjob sowohl an den Tagen, die Sie hier auswählen als auch an diesem festen Wochentag ausgeführt. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>Monat:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ Wochentag:<br>Geben Sie einen Wochentag an, wenn Sie den Cronjob an bestimmten Wochentagen ausführen möchten. Wenn Sie weiter oben bereits einen Wert für "Tage" ausgewählt haben wird der Cronjob sowohl an den dort definierten Tagen als auch an dem hier definierten Wochentag ausgeführt. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ Auszuführender Befehl:<br>Geben Sie hier den Befehl ein, der von diesem Cronjob ausgeführt werden soll. Dies kann entweder der Pfad zu einem Skript oder ein spezifischer Befehl sein. Falls Sie sich nicht sicher sind, wie der serverseitige Pfad zu dem gewünschten Skript lautet, loggen Sie sich per SSH auf dem Server ein und wechseln Sie in das Verzeichnis, in dem sich das Skript befindet. Mithilfe des Kommandos 'pwd' können Sie sich den vollständigen Pfad zu diesem Verzeichnis anzeigen lassen. Stellen Sie diesen Pfad dem gewünschten Skriptnamen in obigem Feld voran.<br>Shell-Befehle können Sie direkt und ohne zusätzliche Pfadangabe angeben.<br><br>Beispiele für Einträge in diesem Feld:<br>/home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>wähle jede Stunde</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>wähle jeden Tag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Erzeuge oder ändere einen crontab Eintrag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Speichern</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab erfolgreich geändert</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab-Eintrag erfolgreich erzeugt</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Löschen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Crontab-Eintrag löschen<br><br><strong>Sind Sie sicher, dass Sie diesen Crontab-Eintrag löschen wollen???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab Eintrag erfolgreich gelöscht</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/el/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/el/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="el">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Κάθε ώρα</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>User</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Command</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Κάθε ώρα</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Αλλαγή</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Διαγραφή</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Αποθήκευση</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Διαγραφή</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
@ -0,0 +1,286 @@
|
|||||||
|
<lexicon lang="en-us">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[
|
||||||
|
<p>
|
||||||
|
This panel simply permit to add modify or delete crontab task
|
||||||
|
</p>
|
||||||
|
]]>
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>User</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Command</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Change</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Delete</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans>
|
||||||
|
<![CDATA[
|
||||||
|
minutes:<br>
|
||||||
|
'0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br>
|
||||||
|
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE!
|
||||||
|
]]>
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans>
|
||||||
|
<![CDATA[
|
||||||
|
hours:<br>
|
||||||
|
'0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am
|
||||||
|
'22' is 10pm
|
||||||
|
]]>
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans>
|
||||||
|
<![CDATA[
|
||||||
|
day:<br>
|
||||||
|
Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br>
|
||||||
|
you can choose a day of the week in the field further down and it will run on both that day and the days you select here.
|
||||||
|
]]>
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans>
|
||||||
|
<![CDATA[
|
||||||
|
day of week:<br>
|
||||||
|
Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br>
|
||||||
|
'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here
|
||||||
|
]]>
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans>
|
||||||
|
<![CDATA[
|
||||||
|
command to be executed:<br>
|
||||||
|
Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of
|
||||||
|
the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd'
|
||||||
|
at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of
|
||||||
|
this, and that's what you use above.<br>
|
||||||
|
You can enter a command directly instead of having this entry point to a script.<br>
|
||||||
|
<br>
|
||||||
|
examples of entries in this field:<br>
|
||||||
|
/home/myaccount/backup.cgi<br>
|
||||||
|
perl /home/myaccount/backup.cgi<br>
|
||||||
|
php /home/myaccount/clean_database.php<br>
|
||||||
|
/home/myaccount/clean_database.php<br>
|
||||||
|
/home/myaccount/monitor.sh<br>
|
||||||
|
touch /tmp/file.lock<br>
|
||||||
|
cp -Rfpud /home/myaccount /backup/myaccount/
|
||||||
|
]]>
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Save</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Delete</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>
|
||||||
|
<![CDATA[
|
||||||
|
Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong>
|
||||||
|
]]>
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
||||||
|
|
234
root/etc/e-smith/locale/es/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/es/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="es">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Cada hora</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Usuario</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Orden</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Cada hora</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Cambiar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Borrar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Guardar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Borrar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/et/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/et/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="et">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab haldus</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Lisa uus crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>Kõik kirjed</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Kasutajate kirjed</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutid</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Iga minut</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Tunnid</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Iga tunni järel</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Päev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Iga päev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Kuu</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Päev nädalas</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Kasutaja</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Käsk</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Iga minut</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Iga tunni järel</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Iga päev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Iga akuu</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Iga nädalapäev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Esmaspäev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Teisipäev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Kolmapäev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Teisipäev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Reede</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Laupäev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Pühapäev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>jaanuar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>veebruar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>märts</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>aprill</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>mai</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>juuni</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>juuli</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>oktoober</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>detsember</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Muuda</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Kustuta</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutit:<br> '0' on esimene minut, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>vali iga minut</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>kuu:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>vali iga tund</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>vali iga päev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Lisa või muuda crontab-e</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Salvesta</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab edukalt uuendatud</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Uus crontab edukalt loodud</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Kustuta</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Kustuta crontab<br><br><Oled kindel, et tahad kustutada selle crontab-i???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab edukalt kustutatud</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/fr/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/fr/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="fr">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[<p> Ce panneau permet d'ajouter, modifier ou effacer des tâches planifiées </p>]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Ajouter une nouvelle entrée à crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>Nouvel Affichage</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>Tous les enregistrements</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Enregistrement des utilisateurs</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Chaque minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Heures</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Toutes les heures</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Jour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Chaque jour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Mois</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Jour de la semaine</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Utilisateur</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Commande</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Chaque minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Toutes les heures</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Chaque jour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Chaque mois</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Chaque jour de la semaine</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Lundi</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Mardi</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Mercredi</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Jeudi</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Vendredi</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Samedi</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Dimanche</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>janvier</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>février</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>mars</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>avril</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>mai</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>juin</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>juillet</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>août</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>septembre</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>octobre</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>novembre</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>décembre</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Modifier</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Supprimer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[minutes :<br>'0' est la première minute, c'est-à-dire 2.00 par opposition à '1' qui est 2.01 <br>NOTE : vous DEVEZ choisir une minute ici si vous ne voulez pas que la tâche tourne TOUTES LES MINUTES !]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>Choisir toutes les minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ heures :<br>'0' est minuit, c'est-à-dire 12.00 am, par opposition à '1' qui est 1.00 am, '22' est 10 pm]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ jour :<br>choisissez si vous voulez que la tâche tourne tous les jours, tous les x jours ou tous les xièmes jours du mois. En plus de choisir une valeur ici, <br>vous pouvez choisir un jour de la semaine dans le champ plus bas et il s'exécutera à la fois ce jour-là et les jours que vous sélectionnez ici.]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>mois:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ jour de la semaine :<br>choisissez un jour de la semaine si vous voulez que votre tâche s’exécute seulement certains jours, par exemple chaque lundi. <br>Si vous avez sélectionné des valeurs dans le <br> champ 'jours' ci-dessus, la commande s'exécutera à la fois le xx jour du mois sélectionné ET le(s) jour(s) de la semaine choisis ici ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[Commande à exécuter :<br> entrez la commande que vous voulez exécuter. Celle ci peut être le chemin vers un script ou une commande 'spéciale'. Si vous n'êtes pas sûr du chemin vers la commande désirée, connectez-vous à votre serveur via SSH ou telnet et déplacez-vous dans le répertoire où est le script. Tapez 'pwd' en ligne de commande, ceci vous donnera le chemin du serveur vers le répertoire où est le script. Ajouter le nom du fichier à la fin de cela et c'est ce que vous utilisez ci-dessus.<br> Vous pouvez entrer une commande directement à la place de pointer cette entrée vers un script.<br> <br> Exemples de commande dans ce champ :<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br>/home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>Choisir toutes les heures</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choisir tous les jours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Créer ou modifier une entrée crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Enregistrer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab mis à jour avec succès </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Entrée Crontab effacée avec succès.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Supprimer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[Effacer une tâche planifiée<br><br><strong>Êtes-vous sure de vouloir effacer cette tâche ???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Entrée crontab supprimée avec succès</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/he/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/he/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="he">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>User</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Command</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Change</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Delete</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>שמור</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Delete</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/hu/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/hu/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="hu">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Új crontab hozzáadása</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Minden órában</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Felhasználó</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Parancs</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Minden órában</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Szerda</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Csütörtök</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Péntek</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Szombat</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Vasárnap</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>január</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>február</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>március</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>április</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>május</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>június</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>július</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>augusztus</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>szeptember</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>október</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Módosítás</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Törlés</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ percek:<br> '0' az első perc, azaz 2.00, szemben az '1'-gyel, ami 2.01<br> MEGJEGYZÉS: itt KELL választani egy percet, ha nem akarja, hogy a cron MINDENKOR fusson! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>válassza minden percet</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ órák:<br> '0' az éjfél, azaz 12.00 óra, szemben az '1'-gyel, ami 1.00 óra '22' az este 10 ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Mentés</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Törlés</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/id/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/id/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="id">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Tiap jam</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>User</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Command</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Tiap jam</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Change</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Hapus</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Simpan</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Hapus</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/it/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/it/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="it">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> Questo pannello permette di aggiungere, modificare o cancellare i task crontab </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Aggiungi un nuovo crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>Nuova Visione</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>Tutti i campi</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Campi utente</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minuti</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Ogni minuto</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Ore</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Ogni ora</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Giorno</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Ogni giorno</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Mese</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Giorno della settimana</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Utente</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Comando</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Ogni minuto</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Ogni ora</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Ogni giorno</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Ogni mese</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Ogni giorno della settimana</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Lunedì</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Martedì</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Mercoledì</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Giovedì</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Venerdì</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Sabato</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Domenica</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>gennaio</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>febbraio</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>marzo</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>aprile</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>maggio</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>giugno</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>luglio</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>agosto</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>settembre</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>ottobre</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>novembre</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>dicembre</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Cambia</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Elimina</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' è il primo minuto, vale a dire 2.00 mentre '1' diventa 2.01<br> NOTA: si DEVE scegliere un minuto altrimenti il cron job verrà eseguito OGNI MINUTO! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>scegli ogni minuto</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ ore:<br> '0' è mezzanotte, vale a dire 12.00 am mentre '1' corrisponde a 1.00 am e '22' è 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Scegliere se si vuole eseguire il cron-job ogni giorno, ogni n giorni o l'n-esimo giorno del mese. Così come si seleziona il valore qui, <br> si può scegliere un giorno della settimana nel campo seguente e il cron-job verrà eseguito in entrambi i giorni selezionati nei due campi. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>mese:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Scegliere il giorno della settimana se si desidera eseguire lo script in certi giorni, p.e. ogni Mercoledì. Se è stato impostato un valore nel campo <br> 'giorni' sopra riportato, il comando verrà eseguito sia nell'n-eseimo giorno del mese scelto, SIA nel giorno/giorni della settimana selezionati qui ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ comando da eseguire:<br> Inserire il comando che si vuole eseguire. Può essere il percorso ad uno script oppure, oppure un comando 'speciale'. Se non siete sicuri del percorso sul server verlo il file/script, collegatevi con SSH/Telnet al server e navigate alla directory che contiene il file. Digitare 'pwd' sulla linea di comando, per ottenere il percorso al file. Aggiungere il nome del file alla fine, e ciò è quanto dovete inserire nel campo 'comando'.<br> Si può ugualmente inserire direttamente un comando invece di puntare ad uno script.<br> <br> esempi di comandi:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>scegliere ogni ora</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>scegliere ogni giorno</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Creare o Modificare un comando crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Salva</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab aggiornato con successo</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Nuova voce crontab creata con successo</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Elimina</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Cancellare una voce crontab<br><br><strong>Siete sicuri di volere cancellare la voce crontab ???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Voce crontab cancellata con successo</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/ja/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/ja/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="ja">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>利用者</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>命令</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>変更</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>削除</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>保存</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>削除</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/nb/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/nb/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="nb">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Hver time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Bruker</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Kommando</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Hver time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Endre</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Slett</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Lagre</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Slett</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/nl/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/nl/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="nl">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> Dit paneel is voor het toevoegen, aanpassen en verwijderen van crontab taken </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Voeg een nieuwe crontab taak toe</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>Nieuw Scherm</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>Alle taken</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Gebruikers gegevens</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>minuten</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Elke minuut</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>uren</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Elk uur</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>dag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Elke dag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>maand</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>dag van de week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Gebruiker</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Commando</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Elke minuut</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Elk uur</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Elke dag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Elke maand</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Elke dag van de week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>maandag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>dinsdag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>woensdag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>donderdag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>vrijdag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>zaterdag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>zondag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>januari</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>februari</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>maart</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>mei</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>juni</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>juli</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>augustus</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>oktober</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Wijzig</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Verwijderen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minuten:<br> '0' is de eerste minuut, ie 2.00 in tegenstelling tot '1' wat 2.01 is.<br> NB: U MOET hier een minuut kiezen als U niet wilt dat cron ELKE MINUUT wordt uitgevoerd! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>kies elke minuut</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ uren:<br> In 24 uur systeem waarbij '0' is middernacht is, 12 is 's middags, '1' is 1 uur 's nachts en 22 is 10 uur 's avonds ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ dag:<br> Kies of U de cron taak elke dag, elke X dagen of de Xste dag van de maand uitgevoerd wilt hebben. Behalve het kiezen van een waarde hier, <br> kunt U ook de dag van de week kiezen in een instelling hieronder en de cron taak zal uitgevoerd worden op die dag en de dagen die U hier instelt. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>maand:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ dag van de week:<br> Kies de dag van de week als U de cron taak op bepaalde dagen uitgevoerd wilt hebben, bijvoorbeeld elke maandag. Als U ook 'dagen' ingesteld heeft in de instelling hierboven<br> de cron taak zal zowel uitgevoerd worden op de ingestelde dag van de maan EN de dag of dagen die hier gekozen zijn. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ uit te voeren commando:<br> Geef het commando op wat uitgevoerd dient te worden. Dit kan een pad naar een script zijn of een 'speciaal' commando. Indien U onzeker bent over het pad naar een bestand/script, SSH of telnet dan naar de server en navigeer naar de map waar het bestand zich bevindt. Type 'pwd' op de commando-regel en de uitvoer toont het pad naar de map waar het script zich bevindt. Voeg de bestandnaam toe aan het einde van het pad en dit kunt U vervolgens hierboven invullen.<br> U kunt ook meteen een commando invullen in plaats van verwijzing naar een script.<br> <br> voorbeelden van waarden voor dit veld:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>kies elk uur</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>kies elke dag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Creëer of Wijzig een crontab taak.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Opslaan</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab succesvol aangepast</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Nieuwe crontab taak aangemaakt</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Verwijderen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Verwijder een crontab taak<br><br><strong>Weet U zeker dat U deze crontab taak wilt verwijderen?</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab taak succesvol verwijdert</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/pl/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/pl/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="pl">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Użytkownik</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Polecenie</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Zmień</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Usuń</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Zapisz</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Usuń</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="pt-br">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Gerenciador do Crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> Este painel permite facilmente adicionar, modificar ou apagar tarefas no crontab</p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Adicionar uma nova crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>Novo Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>Todos registros</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>registros dos usuários</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutos</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Cada minuto</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Horas</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Cada hora</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Dia</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Cada dia</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Mes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Dia da semana</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Usuário</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Comando</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Cada minuto</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Cada hora</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Cada dia</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Cada mês</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Cada dia da semana</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Segunda</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Terça</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Quarta</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Quinta</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Sexta</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Sábado</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Domingo</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>Janeiro</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>Fevereiro</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>Março</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>Abril</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>Maio</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>Junho</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>Julho</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>Agosto</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>Setembro</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>Outubro</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>Novembro</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>Dezembro</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Alterar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Excluir</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutos:<br> '0' é o primeiro minuto, ex 2.00 em vez de '1' sendo 2.01<br> AVISO: você PRECISA escolher um minuto aqui ou o cron irá rodar A CADA MINUTO! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>Escolher cada minuto</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ horas:<br> '0' é meia-noite, ou seja 12.00 am . E '1' é 1.00 am '22' siginifica 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ dia:<br> Escolha se você quer que o cron roda todos dias, cada N dias ou no n-gesimo dia do mes. Além de escolher um valor aqui,<br> você pode escolher um dia da semana no campo a seguir e ele irá rodar em ambas datas selecionadas. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>mês:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ dia da semana:<br> Escolha o dia da semana se você deseja executar o script em certos dias, por exemplo, a cada Segunda. Se você selecionar valores no <br> campo 'dias' acima, o comando será executado em ambas datas, no N-gesimo dia do mes como escolhido E no(s) dia(s) da semana escolhidos aqui.]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ comando a ser executado:<br> Digite o comando que você quer executar. Pode ser o caminho completo para um script ou um ´comando especial´. Se você não estiver seguro do caminho exato para o script ou arquivo, entre via SSH em seu servidor e navegue até onde o arquivo está. Depois digite o comando 'pwd' e o servidor irá lhe mostrar o caminho atual. Acrescente o nome do arquivo no final disso e use no campo acima. <br> Você pode entrar um comando diretamente em vez de usar um script. t.<br> <br> Exemplos de entradas neste campo:<br> /home/minhaconta/backup.cgi<br> perl /home/minhaconta/backup.cgi<br> php /home/minhaconta/clean_database.php<br> /home/minhaconta/clean_database.php<br> /home/minhaconta/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/minhaconta /backup/minhaconta/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>escolher cada hora</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>escolher cada dia</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Criar ou Modificar uma entrada crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Salvar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab atualizado com sucesso</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Criado nova entrada no crontab com sucesso</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Excluir</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Apagar uma entrada no crontab<br><br><strong>Você está certo de que deseja apagar esta entrada do crontab???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Entrada no crontab apagada com sucesso</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/pt/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/pt/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="pt">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Cada hora</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Usuário</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Comando</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Cada hora</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Alterar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Apagar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Salvar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Apagar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/ro/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/ro/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="ro">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>User</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Command</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Modifică</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Şterge</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Salvează</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Şterge</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/ru/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/ru/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="ru">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Каждый час</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Пользователь</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Command</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Каждый час</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Изменить</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Удалить</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Сохранить</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Удалить</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/sl/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/sl/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="sl">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Vsako uro</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>User</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Command</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Vsako uro</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Spremeni</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Izbriši</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Shrani</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Izbriši</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/sv/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/sv/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="sv">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Varje timme</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>Användare</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Kommando</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Varje timme</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Ändra</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Radera</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Spara</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Radera</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/th/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/th/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="th">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>ทุกๆ ชั่วโมง</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>User</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>คำสั่ง</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>ทุกๆ ชั่วโมง</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Change</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>ลบ</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>บันทึก</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>ลบ</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
234
root/etc/e-smith/locale/tr/etc/e-smith/web/functions/cronmanager
Normal file
234
root/etc/e-smith/locale/tr/etc/e-smith/web/functions/cronmanager
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="tr">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Crontab Manager</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> This panel simply permit to add modify or delete crontab task </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>Add a new crontab</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>New Display</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>All records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>Users records</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>Minutes</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>Hours</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>Her saat</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>Day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>Month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>Day of the week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>User</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>Command</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>Every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>Her saat</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>Every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>Every month</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>Every day of week</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>Monday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>Tuesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>Wednesday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>Thursday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>Friday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>Saturday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>Sunday</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>january</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>february</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>march</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>april</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>may</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>june</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>july</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>august</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>september</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>october</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>november</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>december</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>Değiştir</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>Sil</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' is the first minute, ie 2.00 as opposed to '1' being 2.01<br> NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>choose every minute</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> Choose whether you want the cron to run every day, every x days or the xth day of the month. As well as choosing a value here, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>month:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ command to be executed:<br> Enter the command which you want to run. This can either be a path to a script, or a 'special' command. If you're not sure of the server path to a file/script, SSH or telnet into your server and navigate to the directory where the file is. Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>choose every hour</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>choose every day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>Create or Modify a crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>Kaydet</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>Crontab successfully updated</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully create new crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>Sil</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ Delete a crontab entry<br><br><strong>Are you sure you want to delete this crontab entry???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>Successfully deleted crontab entry</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="zh-cn">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>任务计划管理器</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p> 这个面板可以轻松地添加或者删除计划任务 </p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>添加任务计划</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>新的显示</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>所有记录</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>用户记录</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>分钟</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>每分钟</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>小时</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>每小时</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>天</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>每天</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>星期几</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>用户</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>命令</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>每分钟</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>每小时</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>每天</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>每月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>每周每天</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>星期一</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>星期二</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>星期三</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>星期四</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>星期五</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>星期六</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>星期日</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>一月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>二月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>三月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>四月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>五月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>六月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>七月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>八月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>九月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>十月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>十一月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>十二月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>更改</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>删除</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ minutes:<br> '0' 是分钟的开始, 例如 2.00 as opposed to '1' being 2.01<br> 注意: 您必须选择分钟,除非您想每分钟运行一次任务计划! ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>选择分钟</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ hours:<br> '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ day:<br> 选择每天或者每几天甚至某月的某一天运行任务计划。请在这里做出选择, <br> you can choose a day of the week in the field further down and it will run on both that day and the days you select here. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>月份:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ day of week:<br> Choose the day of week if you wish to run the script on certain days, ie every Monday. If you have selected values in the <br> 'days' field above, the command will run on both the xx day of the month as chosen, AND the day/days of the week you choose here ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[ 被执行的命令:<br> 输入您想要执行的命令。它可以是一个脚本的路径,也可以是某个系统命令。如果您不确定文件或脚本的路径,请SSH 或telnet 到服务器上来确定。在命令行输入 'pwd',就会显示当面目录的路径。 Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>选择时钟</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>选择日期</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>创建或修改任务计划</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>保存</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>任务计划已经更新</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>任务计划创建成功</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>删除</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ 删除一条计划任务<br><br><strong>真的要删除这条计划任务吗???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>任务计划删除成功</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
@ -0,0 +1,234 @@
|
|||||||
|
<lexicon lang="zh-tw">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>例行性工作排程管理員</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FIRST_PAGE_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>此控制台只允許加入修正或刪除例行性工作排程</p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ADD</base>
|
||||||
|
<trans>增加新的例行性工作排程</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BUTTON_LABEL_DISPLAY</base>
|
||||||
|
<trans>新顯示</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>ALL</base>
|
||||||
|
<trans>所有紀錄</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERS</base>
|
||||||
|
<trans>使用者紀錄</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE</base>
|
||||||
|
<trans>分鐘</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE</base>
|
||||||
|
<trans>每分鐘</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOURS</base>
|
||||||
|
<trans>小時</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOURS</base>
|
||||||
|
<trans>每小時</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY</base>
|
||||||
|
<trans>日</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY</base>
|
||||||
|
<trans>每日</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH</base>
|
||||||
|
<trans>月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_WEEK</base>
|
||||||
|
<trans>一週中的日子</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USER_RUN_CRON</base>
|
||||||
|
<trans>使用者</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND</base>
|
||||||
|
<trans>指令</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_TEXT</base>
|
||||||
|
<trans>每分鐘</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_TEXT</base>
|
||||||
|
<trans>每小時</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_TEXT</base>
|
||||||
|
<trans>每日</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MONTH_TEXT</base>
|
||||||
|
<trans>每月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_OF_WEEK</base>
|
||||||
|
<trans>一週中的每個日子</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONDAY</base>
|
||||||
|
<trans>週一</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TUESDAY</base>
|
||||||
|
<trans>週二</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>WEDNESDAY</base>
|
||||||
|
<trans>週三</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>THURSDAY</base>
|
||||||
|
<trans>週四</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FRIDAY</base>
|
||||||
|
<trans>週五</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SATERDAY</base>
|
||||||
|
<trans>週六</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUNDAY</base>
|
||||||
|
<trans>週日</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JANUARY</base>
|
||||||
|
<trans>一月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FEBRUARY</base>
|
||||||
|
<trans>二月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MARCH</base>
|
||||||
|
<trans>三月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>APRIL</base>
|
||||||
|
<trans>四月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MAY</base>
|
||||||
|
<trans>五月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JUNE</base>
|
||||||
|
<trans>六月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JULY</base>
|
||||||
|
<trans>七月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>AUGUST</base>
|
||||||
|
<trans>八月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SEPTEMBER</base>
|
||||||
|
<trans>九月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>OCTOBER</base>
|
||||||
|
<trans>十月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NOVEMBER</base>
|
||||||
|
<trans>十一月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DECEMBER</base>
|
||||||
|
<trans>十二月</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CHANGE</base>
|
||||||
|
<trans>變更</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE</base>
|
||||||
|
<trans>刪除</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MINUTE_LABEL</base>
|
||||||
|
<trans><![CDATA[ 分鐘:<br> '0' 是第一分鐘,例如 2.00, 相對於 '1' 是 2.01<br> 注意:您必須於"分鐘"處選擇一個數字,倘若您不想讓例行性工作排程每分鐘運作!]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_MINUTE_LABEL</base>
|
||||||
|
<trans>選擇每分鐘</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>HOUR_LABEL</base>
|
||||||
|
<trans><![CDATA[ 小時:<br> '0' 是午夜,例如 12.00 am ,相對於 '1' 是 1.00 am '22' 是 10pm ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAY_LABEL</base>
|
||||||
|
<trans><![CDATA[ 日:<br>任選您欲使工作排程執行於每日、每X日或每月第X日。只要於此處任選一值,<br>您可於此區塊下拉選單以選擇星期幾,然後它將同時於那一日與您此處選擇的當日執行。]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MONTH_LABEL</base>
|
||||||
|
<trans>月:</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DAYWEEK_LABEL</base>
|
||||||
|
<trans><![CDATA[ 星期:<br>若您在特定日子欲執行程式腳本,請選擇星期,例如每周一。若您已經選擇數值於上列<br> '日數'區塊中,該命令將同時執行於選定的該月xx日,以及此處選定一周中的特定日/特定數日。]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>COMMAND_LABEL</base>
|
||||||
|
<trans><![CDATA[執行命令:<br>輸入您欲執行的命令。此處既可為程式腳本的路徑,或是"特別的"命令。若您不確定伺服器檔案/腳本,SSH或telnet在您伺服器中的路徑,以及瀏覽檔案所在的目錄。Type 'pwd' at the command line, this will tell you the server path to the directory where the script is. Add the file name to the end of this, and that's what you use above.<br> You can enter a command directly instead of having this entry point to a script.<br> <br> examples of entries in this field:<br> /home/myaccount/backup.cgi<br> perl /home/myaccount/backup.cgi<br> php /home/myaccount/clean_database.php<br> /home/myaccount/clean_database.php<br> /home/myaccount/monitor.sh<br> touch /tmp/file.lock<br> cp -Rfpud /home/myaccount /backup/myaccount/ ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_HOUR_LABEL</base>
|
||||||
|
<trans>選擇每小時</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EVERY_DAY_LABEL</base>
|
||||||
|
<trans>選擇每日</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOD_CRON_ENTRY</base>
|
||||||
|
<trans>建立或修正例行性工作排程資料</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SAVE</base>
|
||||||
|
<trans>儲存</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_MODIFY_CRON_ENTRY</base>
|
||||||
|
<trans>例行性工作排程成功更新</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_CREATE_CRON_ENTRY</base>
|
||||||
|
<trans>成功建立例行性工作排程資料</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE</base>
|
||||||
|
<trans>刪除</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DELETE_CRON_ENTRY</base>
|
||||||
|
<trans><![CDATA[ 刪除例行性工作排程資料<br><br><strong>您確定要刪除例行性工作排程資料???</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SUCCESSFULLY_DELETE_CRON_ENTRY</base>
|
||||||
|
<trans>成功刪除例行性工作排程資料</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
37
root/etc/e-smith/templates/etc/crontab/70cronmanager
Normal file
37
root/etc/e-smith/templates/etc/crontab/70cronmanager
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{
|
||||||
|
use esmith::db;
|
||||||
|
use esmith::config;
|
||||||
|
|
||||||
|
my %conf;
|
||||||
|
tie %conf, "esmith::config";
|
||||||
|
|
||||||
|
my $index = 1;
|
||||||
|
my @cron_entry;
|
||||||
|
|
||||||
|
$value=db_get_prop(\%conf, "cronmanager","task$index") || "";
|
||||||
|
while ($value) {
|
||||||
|
@cron_entry=split(/,/, $value);
|
||||||
|
|
||||||
|
if ($cron_entry[0] ne '*') {
|
||||||
|
if ($cron_entry[1] eq 'YES') {
|
||||||
|
$OUT .= "*/";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$OUT .= $cron_entry[0]." ";
|
||||||
|
if ($cron_entry[2] ne '*') {
|
||||||
|
if ($cron_entry[3] eq 'YES') {
|
||||||
|
$OUT .= "*/";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$OUT .= $cron_entry[2]." ";
|
||||||
|
if ($cron_entry[4] ne '*') {
|
||||||
|
if ($cron_entry[5] eq 'YES') {
|
||||||
|
$OUT .= "*/";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$OUT .= $cron_entry[4]." ";
|
||||||
|
$OUT .= $cron_entry[6]." ".$cron_entry[7]." ".$cron_entry[8]." ".$cron_entry[9]."\n";
|
||||||
|
$index++;
|
||||||
|
$value=db_get_prop(\%conf, "cronmanager","task$index") || "";
|
||||||
|
}
|
||||||
|
}
|
259
root/etc/e-smith/web/functions/cronmanager
Executable file
259
root/etc/e-smith/web/functions/cronmanager
Executable file
@ -0,0 +1,259 @@
|
|||||||
|
#!/usr/bin/perl -wT
|
||||||
|
# vim: ft=xml ts=8 sw=4 noet:
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
# heading : Configuration
|
||||||
|
# description : Crontab Manager
|
||||||
|
# navigation : 6000 6810
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
# copyright (C) 2004 Schirrm's Studio
|
||||||
|
# copyright (C) 2002 Mitel Networks Corporation
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
use esmith::FormMagick::Panel::cronmanager;
|
||||||
|
my $form = esmith::FormMagick::Panel::cronmanager->new();
|
||||||
|
# Uncomment the next line for debugging purposes.
|
||||||
|
# $form->debug(1);
|
||||||
|
$form->display();
|
||||||
|
|
||||||
|
|
||||||
|
__DATA__
|
||||||
|
<form
|
||||||
|
title="FORM_TITLE"
|
||||||
|
header="/etc/e-smith/web/common/head.tmpl"
|
||||||
|
footer="/etc/e-smith/web/common/foot.tmpl">
|
||||||
|
|
||||||
|
<!-- page 0 -->
|
||||||
|
<page
|
||||||
|
name="First"
|
||||||
|
pre-event="print_status_message()"
|
||||||
|
post-event="main()">
|
||||||
|
<description>FIRST_PAGE_DESCRIPTION</description>
|
||||||
|
<subroutine src="display_button('ADD')" />
|
||||||
|
<subroutine src="display_cron_entry()" />
|
||||||
|
</page>
|
||||||
|
<page
|
||||||
|
name="change_entry" pre-event="turn_off_buttons()" post-event="main()"
|
||||||
|
>
|
||||||
|
<description>MOD_CRON_ENTRY</description>
|
||||||
|
<field type="select" id="min" value="give_numeric(0)"
|
||||||
|
options="
|
||||||
|
'EVERY_MINUTE_TEXT',
|
||||||
|
'0',
|
||||||
|
'1',
|
||||||
|
'2',
|
||||||
|
'3',
|
||||||
|
'4',
|
||||||
|
'5',
|
||||||
|
'6',
|
||||||
|
'7',
|
||||||
|
'8',
|
||||||
|
'9',
|
||||||
|
'10',
|
||||||
|
'11',
|
||||||
|
'12',
|
||||||
|
'13',
|
||||||
|
'14',
|
||||||
|
'15',
|
||||||
|
'16',
|
||||||
|
'17',
|
||||||
|
'18',
|
||||||
|
'19',
|
||||||
|
'20',
|
||||||
|
'21',
|
||||||
|
'22',
|
||||||
|
'23',
|
||||||
|
'24',
|
||||||
|
'25',
|
||||||
|
'26',
|
||||||
|
'27',
|
||||||
|
'28',
|
||||||
|
'29',
|
||||||
|
'30',
|
||||||
|
'31',
|
||||||
|
'32',
|
||||||
|
'33',
|
||||||
|
'34',
|
||||||
|
'35',
|
||||||
|
'36',
|
||||||
|
'37',
|
||||||
|
'38',
|
||||||
|
'39',
|
||||||
|
'40',
|
||||||
|
'41',
|
||||||
|
'42',
|
||||||
|
'43',
|
||||||
|
'44',
|
||||||
|
'45',
|
||||||
|
'46',
|
||||||
|
'47',
|
||||||
|
'48',
|
||||||
|
'49',
|
||||||
|
'50',
|
||||||
|
'51',
|
||||||
|
'52',
|
||||||
|
'53',
|
||||||
|
'54',
|
||||||
|
'55',
|
||||||
|
'56',
|
||||||
|
'57',
|
||||||
|
'58',
|
||||||
|
'59'
|
||||||
|
">
|
||||||
|
<label>MINUTE_LABEL</label>
|
||||||
|
</field>
|
||||||
|
<field type="select" id="every_min" value="give_bool(1)"
|
||||||
|
options="
|
||||||
|
'YES',
|
||||||
|
'NO'
|
||||||
|
">
|
||||||
|
<label>EVERY_MINUTE_LABEL</label>
|
||||||
|
</field>
|
||||||
|
<field type="select" id="hour" value="give_numeric(2)"
|
||||||
|
options="
|
||||||
|
'EVERY_HOUR_TEXT',
|
||||||
|
'0',
|
||||||
|
'1',
|
||||||
|
'2',
|
||||||
|
'3',
|
||||||
|
'4',
|
||||||
|
'5',
|
||||||
|
'6',
|
||||||
|
'7',
|
||||||
|
'8',
|
||||||
|
'9',
|
||||||
|
'10',
|
||||||
|
'11',
|
||||||
|
'12',
|
||||||
|
'13',
|
||||||
|
'14',
|
||||||
|
'15',
|
||||||
|
'16',
|
||||||
|
'17',
|
||||||
|
'18',
|
||||||
|
'19',
|
||||||
|
'20',
|
||||||
|
'21',
|
||||||
|
'22',
|
||||||
|
'23',
|
||||||
|
">
|
||||||
|
<label>HOUR_LABEL</label>
|
||||||
|
</field>
|
||||||
|
<field type="select" id="every_hour" value="give_bool(3)"
|
||||||
|
options="
|
||||||
|
'YES',
|
||||||
|
'NO'
|
||||||
|
">
|
||||||
|
<label>EVERY_HOUR_LABEL</label>
|
||||||
|
</field>
|
||||||
|
<field type="select"
|
||||||
|
id="day"
|
||||||
|
value="give_numeric(4)"
|
||||||
|
options="
|
||||||
|
'EVERY_DAY_TEXT',
|
||||||
|
'1',
|
||||||
|
'2',
|
||||||
|
'3',
|
||||||
|
'4',
|
||||||
|
'5',
|
||||||
|
'6',
|
||||||
|
'7',
|
||||||
|
'8',
|
||||||
|
'9',
|
||||||
|
'10',
|
||||||
|
'11',
|
||||||
|
'12',
|
||||||
|
'13',
|
||||||
|
'14',
|
||||||
|
'15',
|
||||||
|
'16',
|
||||||
|
'17',
|
||||||
|
'18',
|
||||||
|
'19',
|
||||||
|
'20',
|
||||||
|
'21',
|
||||||
|
'22',
|
||||||
|
'23',
|
||||||
|
'24',
|
||||||
|
'25',
|
||||||
|
'26',
|
||||||
|
'27',
|
||||||
|
'28',
|
||||||
|
'29',
|
||||||
|
'30',
|
||||||
|
'31'
|
||||||
|
">
|
||||||
|
<label>DAY_LABEL</label>
|
||||||
|
</field>
|
||||||
|
<field type="select" id="every_day" value="give_bool(5)"
|
||||||
|
options="
|
||||||
|
'YES',
|
||||||
|
'NO'
|
||||||
|
">
|
||||||
|
<label>EVERY_DAY_LABEL</label>
|
||||||
|
</field>
|
||||||
|
<field type="select" id="month" value="give_month()"
|
||||||
|
options="
|
||||||
|
'EVERY_MONTH_TEXT',
|
||||||
|
'JANUARY',
|
||||||
|
'FEBRUARY',
|
||||||
|
'MARCH',
|
||||||
|
'APRIL',
|
||||||
|
'MAY',
|
||||||
|
'JUNE',
|
||||||
|
'JULY',
|
||||||
|
'AUGUST',
|
||||||
|
'SEPTEMBER',
|
||||||
|
'OCTOBER',
|
||||||
|
'NOVEMBER',
|
||||||
|
'DECEMBER'
|
||||||
|
">
|
||||||
|
<label>MONTH_LABEL</label>
|
||||||
|
</field>
|
||||||
|
<field type="select" id="day_week" value="give_dayweek()"
|
||||||
|
options="
|
||||||
|
'EVERY_DAY_OF_WEEK',
|
||||||
|
'MONDAY',
|
||||||
|
'TUESDAY',
|
||||||
|
'WEDNESDAY',
|
||||||
|
'THURSDAY',
|
||||||
|
'FRIDAY',
|
||||||
|
'SATERDAY',
|
||||||
|
'SUNDAY'
|
||||||
|
">
|
||||||
|
<label>DAYWEEK_LABEL</label>
|
||||||
|
</field>
|
||||||
|
<field type="select" id="user" value="give_numeric(8)"
|
||||||
|
options="give_all_user()"
|
||||||
|
>
|
||||||
|
<label>USER_RUN_CRON</label>
|
||||||
|
</field>
|
||||||
|
<field type="text" id="command" value="give_numeric(9)" size="50" validation="nonblank,nocoma">
|
||||||
|
<label>COMMAND_LABEL</label>
|
||||||
|
</field>
|
||||||
|
<subroutine src="change_cron_entry()" />
|
||||||
|
<subroutine src="print_button('SAVE')" />
|
||||||
|
</page>
|
||||||
|
<page
|
||||||
|
name="delete_entry" pre-event="turn_off_buttons()"
|
||||||
|
post-event="main()">
|
||||||
|
<description>DELETE_CRON_ENTRY</description>
|
||||||
|
<subroutine src="delete_cron_entry()" />
|
||||||
|
<subroutine src="print_button('REMOVE')" />
|
||||||
|
</page>
|
||||||
|
</form>
|
1
root/etc/e-smith/web/panels/manager/cgi-bin/cronmanager
Symbolic link
1
root/etc/e-smith/web/panels/manager/cgi-bin/cronmanager
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../functions/cronmanager
|
718
root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/cronmanager.pm
Executable file
718
root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/cronmanager.pm
Executable file
@ -0,0 +1,718 @@
|
|||||||
|
#----------------------------------------------------------------------
|
||||||
|
# $Id: portforwarding.pm,v 1.31 2003/04/08 15:28:55 mvanhees Exp $
|
||||||
|
# vim: ft=perl ts=4 sw=4 et:
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
# copyright (C) 2004 Pascal Schirrmann
|
||||||
|
# copyright (C) 2002 Mitel Networks Corporation
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
package esmith::FormMagick::Panel::cronmanager;
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
use esmith::FormMagick;
|
||||||
|
use esmith::cgi;
|
||||||
|
use esmith::util;
|
||||||
|
use esmith::config;
|
||||||
|
use esmith::db;
|
||||||
|
use esmith::event;
|
||||||
|
use esmith::AccountsDB;
|
||||||
|
|
||||||
|
use HTML::Entities;
|
||||||
|
use File::Basename;
|
||||||
|
use Carp;
|
||||||
|
use Exporter;
|
||||||
|
|
||||||
|
use constant TRUE => 1;
|
||||||
|
use constant FALSE => 0;
|
||||||
|
|
||||||
|
our @ISA = qw(esmith::FormMagick Exporter);
|
||||||
|
|
||||||
|
our @EXPORT = qw(
|
||||||
|
main
|
||||||
|
display_button
|
||||||
|
display_cron_entry
|
||||||
|
change_cron_entry
|
||||||
|
delete_cron_entry
|
||||||
|
fill_minute
|
||||||
|
give_numeric
|
||||||
|
give_month
|
||||||
|
give_dayweek
|
||||||
|
give_bool
|
||||||
|
give_all_user
|
||||||
|
);
|
||||||
|
|
||||||
|
our $VERSION = sprintf '%d.%03d', q$Revision: 0.01 $ =~ /: (\d+).(\d+)/;
|
||||||
|
# our $db = esmith::ConfigDB->open
|
||||||
|
# or die "Can't open the Config database : $!\n" ;
|
||||||
|
# our $accountsdb = esmith::AccountsDB->open_ro
|
||||||
|
# or die "Can't open the Accounts database : $!\n" ;
|
||||||
|
|
||||||
|
=head1 NAME
|
||||||
|
|
||||||
|
esmith::FormMagick::Panels::cronmanager - useful panel functions
|
||||||
|
|
||||||
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
|
use esmith::FormMagick::Panels::cronmanager
|
||||||
|
|
||||||
|
my $panel = esmith::FormMagick::Panel::cronmanager->new();
|
||||||
|
$panel->display();
|
||||||
|
|
||||||
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
This module is the backend to the cronmanager panel, responsible for
|
||||||
|
supplying all functions used by that panel. It is a subclass of
|
||||||
|
esmith::FormMagick itself, so it inherits the functionality of a FormMagick
|
||||||
|
object.
|
||||||
|
|
||||||
|
=head2 new
|
||||||
|
|
||||||
|
This is the class constructor.
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub new {
|
||||||
|
shift;
|
||||||
|
my $self = esmith::FormMagick->new();
|
||||||
|
$self->{calling_package} = (caller)[0];
|
||||||
|
bless $self;
|
||||||
|
return $self;
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 main
|
||||||
|
|
||||||
|
Main methode select correct action
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub main {
|
||||||
|
my ($fm) = @_;
|
||||||
|
my $action = $fm->{cgi}->param('action') || '';
|
||||||
|
my $wherenext = $fm->{cgi}->param('wherenext');
|
||||||
|
|
||||||
|
if( $action eq 'cron_modify') {
|
||||||
|
$fm->update_cron_table();
|
||||||
|
}
|
||||||
|
elsif( $action eq 'delete_entry') {
|
||||||
|
$fm->delete_one_cron_entry();
|
||||||
|
}
|
||||||
|
elsif( $action eq 'create_cron') {
|
||||||
|
$fm->create_one_cron_entry();
|
||||||
|
}
|
||||||
|
$fm->wherenext($wherenext);
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 display_cron_entry
|
||||||
|
|
||||||
|
Display all crontab entry entred using this web interface
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub display_cron_entry {
|
||||||
|
my $self = shift ;
|
||||||
|
my $q = $self->cgi ;
|
||||||
|
my $script = basename($0);
|
||||||
|
|
||||||
|
my $test = $self->cgi->param('id');
|
||||||
|
|
||||||
|
print "<table class=\"sme-border\">";
|
||||||
|
print "<tr>";
|
||||||
|
print "<th class=\"sme-border\">" . $self->localise('MINUTE' ) . "</th><th class=\"sme-border\">" . $self->localise('EVERY_MINUTE' ) . "</th><th class=\"sme-border\">" . $self->localise('HOURS' ) . "</th><th class=\"sme-border\">" . $self->localise('EVERY_HOURS' ) . "</th><th class=\"sme-border\">" . $self->localise('DAY' ) . "</th><th class=\"sme-border\">" . $self->localise('EVERY_DAY' ) . "</th><th class=\"sme-border\">" . $self->localise('MONTH' ) . "</th><th class=\"sme-border\">" . $self->localise('DAY_WEEK' ) . "</th><th class=\"sme-border\">" . $self->localise('USER_RUN_CRON' ) . "</th><th class=\"sme-border\">" . $self->localise('COMMAND' ) . "</th><th class=\"sme-border\" colspan=\"2\">Action</th>";
|
||||||
|
print "</tr>";
|
||||||
|
|
||||||
|
my %conf;
|
||||||
|
tie %conf, "esmith::config";
|
||||||
|
|
||||||
|
my $index = 1;
|
||||||
|
my $value;
|
||||||
|
my @cron_entry;
|
||||||
|
my $cron_entry;
|
||||||
|
my $small_index;
|
||||||
|
|
||||||
|
$value=db_get_prop(\%conf, "cronmanager","task$index") || "";
|
||||||
|
while ($value) {
|
||||||
|
@cron_entry=split(/,/, $value);
|
||||||
|
print "<tr>";
|
||||||
|
$small_index=0;
|
||||||
|
foreach $cron_entry (@cron_entry) {
|
||||||
|
if ($small_index eq '6') {
|
||||||
|
if ($cron_entry eq '*') {
|
||||||
|
print "<td class=\"sme-border\">".$self->localise('EVERY_MONTH_TEXT')."</td>";
|
||||||
|
} else {
|
||||||
|
print "<td class=\"sme-border\">".$self->localise(convert_month($cron_entry))."</td>";
|
||||||
|
}
|
||||||
|
} elsif ($small_index eq '7') {
|
||||||
|
if ($cron_entry eq '*') {
|
||||||
|
print "<td class=\"sme-border\">".$self->localise('EVERY_DAY_OF_WEEK')."</td>";
|
||||||
|
} else {
|
||||||
|
print "<td class=\"sme-border\">".$self->localise(convert_dayweek($cron_entry))."</td>";
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
print "<td class=\"sme-border\">$cron_entry</td>";
|
||||||
|
}
|
||||||
|
$small_index++;
|
||||||
|
}
|
||||||
|
print "<td class=\"sme-border\"><a href=\"$script?page=0&action2=cron_modify&wherenext=change_entry&id=$index\">" . $self->localise('MODIFY' ) . "</a></td>";
|
||||||
|
print "<td class=\"sme-border\"><a href=\"$script?page=0&wherenext=delete_entry&id=$index\">" . $self->localise('REMOVE' ) . "</a></td>";
|
||||||
|
print "</tr>";
|
||||||
|
$index++;
|
||||||
|
$value=db_get_prop(\%conf, "cronmanager","task$index") || "";
|
||||||
|
}
|
||||||
|
|
||||||
|
print "</table>";
|
||||||
|
|
||||||
|
return "";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 display_button
|
||||||
|
|
||||||
|
This method is used to display a button on the right place.
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub display_button {
|
||||||
|
my ($self, $fld) = @_;
|
||||||
|
my $id = $self->cgi->param('id');
|
||||||
|
|
||||||
|
my $q = $self->cgi ;
|
||||||
|
print "<form>";
|
||||||
|
print "<input type=\"hidden\" name=\"wherenext\" value=\"change_entry\">";
|
||||||
|
print "<input type=\"hidden\" name=\"page\" value=\"1\">";
|
||||||
|
print "<input type=\"hidden\" name=\"action2\" value=\"create_cron\">";
|
||||||
|
print "<input type=\"submit\" value=\"" . $self->localise($fld) . "\">";
|
||||||
|
print "</form>";
|
||||||
|
return undef;
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 display_form
|
||||||
|
|
||||||
|
This method is used to start a new display.
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub display_form {
|
||||||
|
my $self = shift ;
|
||||||
|
my $q = $self->cgi ;
|
||||||
|
|
||||||
|
$self->debug_msg("'display_form' begins.") ;
|
||||||
|
$self->debug_msg("\$self->wherenext(\"First\");") ;
|
||||||
|
$self->wherenext("First") ;
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 change_cron_entry
|
||||||
|
|
||||||
|
define action in html page
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub change_cron_entry {
|
||||||
|
my ($self) = @_;
|
||||||
|
my $name = $self->cgi->param('name');
|
||||||
|
my $id = $self->cgi->param('id') || "";
|
||||||
|
my $action = $self->cgi->param('action2');
|
||||||
|
|
||||||
|
$self->wherenext('First');
|
||||||
|
print qq(
|
||||||
|
<input type="hidden" name="id" value="$id">
|
||||||
|
<input type="hidden" name="wherenext" value="First">
|
||||||
|
<input type="hidden" name="action" value="$action">
|
||||||
|
);
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 delete_cron_entry
|
||||||
|
|
||||||
|
define action in html page
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub delete_cron_entry {
|
||||||
|
my ($self) = @_;
|
||||||
|
my $name = $self->cgi->param('name');
|
||||||
|
my $id = $self->cgi->param('id');
|
||||||
|
|
||||||
|
$self->wherenext('First');
|
||||||
|
print qq(
|
||||||
|
<input type="hidden" name="id" value="$id">
|
||||||
|
<input type="hidden" name="wherenext" value="First">
|
||||||
|
<input type="hidden" name="action" value="delete_entry">
|
||||||
|
);
|
||||||
|
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 update_cron_table
|
||||||
|
|
||||||
|
Update crontab propeties in the database
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub update_cron_table {
|
||||||
|
my ($self) = @_;
|
||||||
|
my $fm = shift;
|
||||||
|
my $id = $self->cgi->param('id');
|
||||||
|
my $min = check_every($self->cgi->param('min'));
|
||||||
|
my $every_min = $self->cgi->param('every_min');
|
||||||
|
my $hour = check_every($self->cgi->param('hour'));
|
||||||
|
my $every_hour = $self->cgi->param('every_hour');
|
||||||
|
my $day = check_every($self->cgi->param('day'));
|
||||||
|
my $every_day = $self->cgi->param('every_day');
|
||||||
|
my $month = check_every($self->cgi->param('month'));
|
||||||
|
my $day_week = check_every($self->cgi->param('day_week'));
|
||||||
|
my $user = $self->cgi->param('user');
|
||||||
|
my $command = $self->cgi->param('command');
|
||||||
|
my $month2;
|
||||||
|
my $day_week2;
|
||||||
|
|
||||||
|
if ($min eq '*') {
|
||||||
|
$every_min="";
|
||||||
|
}
|
||||||
|
if ($hour eq '*') {
|
||||||
|
$every_hour="";
|
||||||
|
}
|
||||||
|
if ($day eq '*') {
|
||||||
|
$every_day="";
|
||||||
|
}
|
||||||
|
if ($month eq '*') {
|
||||||
|
$month2 = $month;
|
||||||
|
} else {
|
||||||
|
$month2 = reverse_month($month);
|
||||||
|
}
|
||||||
|
if ($day_week eq '*') {
|
||||||
|
$day_week2 = $day_week;
|
||||||
|
} else {
|
||||||
|
$day_week2 = reverse_dayweek($day_week);
|
||||||
|
}
|
||||||
|
my $pr = $min.",".$every_min.",".$hour.",".$every_hour.",".$day.",".$every_day.",".$month2.",".$day_week2.",".$user.",".$command;
|
||||||
|
|
||||||
|
#print "$pr";
|
||||||
|
|
||||||
|
my %conf;
|
||||||
|
tie %conf, 'esmith::config';
|
||||||
|
|
||||||
|
my $cron_prop = db_get(\%conf, "cronmanager");
|
||||||
|
|
||||||
|
db_set_prop(\%conf, "cronmanager", "task$id",$pr);
|
||||||
|
|
||||||
|
if (system ("/sbin/e-smith/expand-template", "/etc/crontab") == 0) {
|
||||||
|
$fm->success("SUCCESSFULLY_MODIFY_CRON_ENTRY");
|
||||||
|
} else {
|
||||||
|
$fm->error("ERROR_MODIFY_CRON_ENTRY");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 create_one_cron_entry
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub create_one_cron_entry {
|
||||||
|
my ($self) = @_;
|
||||||
|
my $fm = shift;
|
||||||
|
my $min = check_every($self->cgi->param('min'));
|
||||||
|
my $every_min = $self->cgi->param('every_min');
|
||||||
|
my $hour = check_every($self->cgi->param('hour'));
|
||||||
|
my $every_hour = $self->cgi->param('every_hour');
|
||||||
|
my $day = check_every($self->cgi->param('day'));
|
||||||
|
my $every_day = $self->cgi->param('every_day');
|
||||||
|
my $month = check_every($self->cgi->param('month'));
|
||||||
|
my $day_week = check_every($self->cgi->param('day_week'));
|
||||||
|
my $user = $self->cgi->param('user');
|
||||||
|
my $command = $self->cgi->param('command');
|
||||||
|
my $month2;
|
||||||
|
my $day_week2;
|
||||||
|
|
||||||
|
if ($min eq '*') {
|
||||||
|
$every_min="";
|
||||||
|
}
|
||||||
|
if ($hour eq '*') {
|
||||||
|
$every_hour="";
|
||||||
|
}
|
||||||
|
if ($day eq '*') {
|
||||||
|
$every_day="";
|
||||||
|
}
|
||||||
|
if ($month eq '*') {
|
||||||
|
$month2 = $month;
|
||||||
|
} else {
|
||||||
|
$month2 = reverse_month($month);
|
||||||
|
}
|
||||||
|
if ($day_week eq '*') {
|
||||||
|
$day_week2 = $day_week;
|
||||||
|
} else {
|
||||||
|
$day_week2 = reverse_dayweek($day_week);
|
||||||
|
}
|
||||||
|
my $pr = $min.",".$every_min.",".$hour.",".$every_hour.",".$day.",".$every_day.",".$month2.",".$day_week2.",".$user.",".$command;
|
||||||
|
|
||||||
|
my $id=give_lastindex();
|
||||||
|
|
||||||
|
my %conf;
|
||||||
|
tie %conf, 'esmith::config';
|
||||||
|
|
||||||
|
my $cron_prop = db_get(\%conf, "cronmanager");
|
||||||
|
|
||||||
|
db_set_prop(\%conf, "cronmanager", "task$id",$pr);
|
||||||
|
|
||||||
|
if (system ("/sbin/e-smith/expand-template", "/etc/crontab") == 0) {
|
||||||
|
$fm->success("SUCCESSFULLY_CREATE_CRON_ENTRY");
|
||||||
|
} else {
|
||||||
|
$fm->error("ERROR_CREATE_CRON_ENTRY");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 check_every
|
||||||
|
|
||||||
|
Check sting caractere if it start with EVERY, thus change to "*"
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub check_every {
|
||||||
|
my ($to_check) = @_;
|
||||||
|
|
||||||
|
my @val=split(/_/,$to_check);
|
||||||
|
my $ret;
|
||||||
|
|
||||||
|
if ($val[0] eq 'EVERY') {
|
||||||
|
$ret="*";
|
||||||
|
} else {
|
||||||
|
$ret=$to_check;
|
||||||
|
}
|
||||||
|
return($ret);
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 delete_one_cron_entry
|
||||||
|
|
||||||
|
delete one crontab entry in the list
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub delete_one_cron_entry {
|
||||||
|
my ($self) = @_;
|
||||||
|
my $fm = shift;
|
||||||
|
my $id = $self->cgi->param('id');
|
||||||
|
|
||||||
|
my %conf;
|
||||||
|
tie %conf, 'esmith::config';
|
||||||
|
|
||||||
|
|
||||||
|
my $cron_prop = db_get(\%conf, "cronmanager");
|
||||||
|
|
||||||
|
my $index = 1;
|
||||||
|
my $sec_index=1;
|
||||||
|
my @cron_entry;
|
||||||
|
my $cron_entry;
|
||||||
|
my $small_index;
|
||||||
|
my %new_prop=();
|
||||||
|
|
||||||
|
|
||||||
|
my $value=db_get_prop(\%conf, "cronmanager","task$index") || "";
|
||||||
|
|
||||||
|
while ($value) {
|
||||||
|
if ($index ne $id) {
|
||||||
|
$new_prop{$sec_index}=$value;
|
||||||
|
$sec_index++;
|
||||||
|
}
|
||||||
|
db_delete_prop(\%conf,"cronmanager","task$index");
|
||||||
|
$index++;
|
||||||
|
$value=db_get_prop(\%conf, "cronmanager","task$index") || "";
|
||||||
|
}
|
||||||
|
for my $pro ( keys %new_prop ) {
|
||||||
|
db_set_prop(\%conf, "cronmanager", "task$pro", $new_prop{$pro});
|
||||||
|
}
|
||||||
|
|
||||||
|
if (system ("/sbin/e-smith/expand-template", "/etc/crontab") == 0) {
|
||||||
|
$fm->success("SUCCESSFULLY_DELETE_CRON_ENTRY");
|
||||||
|
} else {
|
||||||
|
$fm->error("ERROR_DELETE_CRON_ENTRY");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 give_numeric(field)
|
||||||
|
|
||||||
|
Look for specific field in the list
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub give_numeric {
|
||||||
|
my ($self, $fld) = @_;
|
||||||
|
my $id = $self->cgi->param('id') || "";
|
||||||
|
|
||||||
|
my %conf;
|
||||||
|
tie %conf, 'esmith::config';
|
||||||
|
|
||||||
|
my $cron_prop = db_get(\%conf, "cronmanager");
|
||||||
|
|
||||||
|
my $value;
|
||||||
|
my $fld_value;
|
||||||
|
my @cron_entry;
|
||||||
|
my $cron_entry;
|
||||||
|
|
||||||
|
$value=db_get_prop(\%conf, "cronmanager","task$id") || "";
|
||||||
|
@cron_entry=split(/,/, $value);
|
||||||
|
|
||||||
|
my $ret;
|
||||||
|
$fld_value=$cron_entry[$fld] || "";
|
||||||
|
|
||||||
|
if ($fld_value eq '*') {
|
||||||
|
$ret=""
|
||||||
|
} else {
|
||||||
|
$ret=encode_entities( $fld_value);
|
||||||
|
}
|
||||||
|
return($ret);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 convert_month
|
||||||
|
|
||||||
|
Convert numeric month to complete month
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub convert_month {
|
||||||
|
my ($month) = @_;
|
||||||
|
my $ret;
|
||||||
|
|
||||||
|
if ($month eq '') {
|
||||||
|
$ret = "EVERY_MONTH_TEXT";
|
||||||
|
} else {
|
||||||
|
my @month2 = (
|
||||||
|
'JANUARY',
|
||||||
|
'FEBRUARY',
|
||||||
|
'MARCH',
|
||||||
|
'APRIL',
|
||||||
|
'MAY',
|
||||||
|
'JUNE',
|
||||||
|
'JULY',
|
||||||
|
'AUGUST',
|
||||||
|
'SEPTEMBER',
|
||||||
|
'OCTOBER',
|
||||||
|
'NOVEMBER',
|
||||||
|
'DECEMBER'
|
||||||
|
);
|
||||||
|
$ret=$month2[$month-1];
|
||||||
|
}
|
||||||
|
return ($ret);
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 reverse_month
|
||||||
|
|
||||||
|
Convert complete month to numeric month
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub reverse_month {
|
||||||
|
my ($month) = @_;
|
||||||
|
|
||||||
|
my %month2 = (
|
||||||
|
JANUARY=>'1',
|
||||||
|
FEBRUARY=>'2',
|
||||||
|
MARCH=>'3',
|
||||||
|
APRIL=>'4',
|
||||||
|
MAY=>'5',
|
||||||
|
JUNE=>'6',
|
||||||
|
JULY=>'7',
|
||||||
|
AUGUST=>'8',
|
||||||
|
SEPTEMBER=>'9',
|
||||||
|
OCTOBER=>'10',
|
||||||
|
NOVEMBER=>'11',
|
||||||
|
DECEMBER=>'12'
|
||||||
|
);
|
||||||
|
my $ret=$month2{$month};
|
||||||
|
|
||||||
|
return ($ret);
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 convert_dayweek
|
||||||
|
|
||||||
|
Convert numeric day of week to literal day of week
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub convert_dayweek {
|
||||||
|
my ($day) = @_;
|
||||||
|
my $ret;
|
||||||
|
|
||||||
|
if ($day eq '') {
|
||||||
|
$ret="EVERY_DAY_OF_WEEK";
|
||||||
|
} else {
|
||||||
|
my @day2 = (
|
||||||
|
'MONDAY',
|
||||||
|
'TUESDAY',
|
||||||
|
'WEDNESDAY',
|
||||||
|
'THURSDAY',
|
||||||
|
'FRIDAY',
|
||||||
|
'SATERDAY',
|
||||||
|
'SUNDAY'
|
||||||
|
);
|
||||||
|
$ret=$day2[$day-1];
|
||||||
|
}
|
||||||
|
|
||||||
|
return ($ret);
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 reverse_dayweek
|
||||||
|
|
||||||
|
Convert literal day of week to numerical day of week
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub reverse_dayweek {
|
||||||
|
my ($day) = @_;
|
||||||
|
|
||||||
|
my %day2 = (
|
||||||
|
MONDAY=>'1',
|
||||||
|
TUESDAY=>'2',
|
||||||
|
WEDNESDAY=>'3',
|
||||||
|
THURSDAY=>'4',
|
||||||
|
FRIDAY=>'5',
|
||||||
|
SATERDAY=>'6',
|
||||||
|
SUNDAY=>'7'
|
||||||
|
);
|
||||||
|
|
||||||
|
my $ret=$day2{$day};
|
||||||
|
|
||||||
|
return ($ret);
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 give_month
|
||||||
|
|
||||||
|
Public method that return month for current crontab entry
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub give_month {
|
||||||
|
my ($self) = @_;
|
||||||
|
my $id = $self->cgi->param('id');
|
||||||
|
|
||||||
|
my $month = give_numeric($self,6);
|
||||||
|
|
||||||
|
return (convert_month($month));
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 give_dayweek
|
||||||
|
|
||||||
|
Public method that return day of the week for current crontab entry
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub give_dayweek {
|
||||||
|
my ($self) = @_;
|
||||||
|
my $id = $self->cgi->param('id');
|
||||||
|
|
||||||
|
my $dayweek = give_numeric($self,7);
|
||||||
|
|
||||||
|
return (convert_dayweek($dayweek));
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 give_bool
|
||||||
|
|
||||||
|
return boolean value of one of the propreties for current crontab entry
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub give_bool {
|
||||||
|
my ($self, $fld) = @_;
|
||||||
|
my $id = $self->cgi->param('id') || "";
|
||||||
|
|
||||||
|
my %conf;
|
||||||
|
tie %conf, 'esmith::config';
|
||||||
|
|
||||||
|
my $cron_prop = db_get(\%conf, "cronmanager");
|
||||||
|
|
||||||
|
my $value;
|
||||||
|
my @cron_entry;
|
||||||
|
my $cron_entry;
|
||||||
|
my $ret;
|
||||||
|
my $fld_value;
|
||||||
|
|
||||||
|
$value=db_get_prop(\%conf, "cronmanager","task$id") || "";
|
||||||
|
@cron_entry=split(/,/, $value);
|
||||||
|
|
||||||
|
$fld_value=$cron_entry[$fld] || "";
|
||||||
|
|
||||||
|
if ($fld_value eq 'YES') {
|
||||||
|
$ret="YES";
|
||||||
|
} else {
|
||||||
|
$ret="NO";
|
||||||
|
}
|
||||||
|
return($ret);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 give_lastindex
|
||||||
|
|
||||||
|
return the next index number of crontab entry
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub give_lastindex {
|
||||||
|
my %conf;
|
||||||
|
tie %conf, 'esmith::config';
|
||||||
|
|
||||||
|
my $cron_prop = db_get(\%conf, "cronmanager");
|
||||||
|
|
||||||
|
my $index = 1;
|
||||||
|
my $value;
|
||||||
|
my @cron_entry;
|
||||||
|
my $cron_entry;
|
||||||
|
my $small_index;
|
||||||
|
|
||||||
|
$value=db_get_prop(\%conf, "cronmanager","task$index") || "";
|
||||||
|
while ($value) {
|
||||||
|
$index++;
|
||||||
|
$value=db_get_prop(\%conf, "cronmanager","task$index") || "";
|
||||||
|
}
|
||||||
|
|
||||||
|
return ($index);
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 give_all_user
|
||||||
|
|
||||||
|
Return All user recorded in AccoundDB
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub give_all_user {
|
||||||
|
my $fm = shift;
|
||||||
|
my $accounts = esmith::AccountsDB->open;
|
||||||
|
|
||||||
|
my %existingAccounts = ('root' => "Administrator" );
|
||||||
|
|
||||||
|
foreach my $account ($accounts->get_all) {
|
||||||
|
if ($account->prop('type') =~ /(user)/) {
|
||||||
|
$existingAccounts{$account->key} = $account->key;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return(\%existingAccounts);
|
||||||
|
}
|
||||||
|
|
||||||
|
=head2 nocoma
|
||||||
|
|
||||||
|
No coma authorized in this field, or it will break things
|
||||||
|
|
||||||
|
=cut
|
||||||
|
sub nocoma
|
||||||
|
{
|
||||||
|
my ($fm, $data) = @_;
|
||||||
|
if ($data =~ /,/)
|
||||||
|
{
|
||||||
|
return "NO_COMA_ALLOWED";
|
||||||
|
}
|
||||||
|
return "OK";
|
||||||
|
}
|
||||||
|
# never forget the final 1 ;-)
|
||||||
|
1;
|
118
smeserver-crontab_manager.spec
Normal file
118
smeserver-crontab_manager.spec
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
Summary: sme server crontab maanger
|
||||||
|
%define name smeserver-crontab_manager
|
||||||
|
Name: %{name}
|
||||||
|
%define version 2.4
|
||||||
|
%define release 9
|
||||||
|
Version: %{version}
|
||||||
|
Release: %{release}%{dist}
|
||||||
|
License: GPL
|
||||||
|
Group: Service
|
||||||
|
Source: %{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
#Patch1: %{name}-%{version}.patch.yyyymmddnn
|
||||||
|
Packager: Ap.Muthu <apmuthu@usa.net>
|
||||||
|
BuildRoot: /var/tmp/e-smith-buildroot
|
||||||
|
BuildRequires: e-smith-devtools
|
||||||
|
BuildArchitectures: noarch
|
||||||
|
Requires: e-smith-base, e-smith-lib, e-smith >= 4.1
|
||||||
|
AutoReqProv: no
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 2.4-9.sme
|
||||||
|
- Roll up patches and move to git repo [SME: 12338]
|
||||||
|
|
||||||
|
* Sat Sep 07 2024 BogusDateBot
|
||||||
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||||
|
by assuming the date is correct and changing the weekday.
|
||||||
|
Wed Sep 09 2024 --> Wed Sep 04 2024 or Mon Sep 09 2024 or Wed Sep 11 2024 or ....
|
||||||
|
|
||||||
|
* Wed Sep 09 2024 Terry Fage <terry@fage.id.au> 2.4.8.sme
|
||||||
|
- apply locale 2024-09-04.patch
|
||||||
|
|
||||||
|
* Sat Aug 21 2021 Terry Fage <terry.fage@gmail.com> 2.4.7.sme
|
||||||
|
- apply locale 2021-08-21 patch
|
||||||
|
|
||||||
|
* Fri Apr 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.4-6.sme
|
||||||
|
- fix display of double quote in edition [SME: 11028]
|
||||||
|
prevent use of coma in command line
|
||||||
|
|
||||||
|
* Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 2.4-5.sme
|
||||||
|
- Add Update event to createlinks [SME: 11027]
|
||||||
|
|
||||||
|
* Sun Oct 11 2020 Brian Read <brianr@bjsystems.co.uk> 2.4-4.sme
|
||||||
|
- Initial import to SME10 tree [SME: 11027]
|
||||||
|
- Change link to panel to reference wrapper
|
||||||
|
|
||||||
|
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.4-3.sme
|
||||||
|
- apply locale 2016-03-09 patch
|
||||||
|
|
||||||
|
* Wed Jul 01 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> - 2.4-2
|
||||||
|
- Added smeserver-crontab_manager-2.4-locale-2015-07-01.patch [SME: 8965]
|
||||||
|
|
||||||
|
* Sun Jun 08 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> - 2.4-1
|
||||||
|
- Initial release to contribs9
|
||||||
|
- applied locale smeserver-crontab_manager-2.2-locale-2014-06-08.patch
|
||||||
|
- applied a patch against unitialized value smeserver-crontab_manager-2.4-unitialised_values.patch
|
||||||
|
|
||||||
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 2.2-2.sme
|
||||||
|
- apply locale 2013-07-14 patch
|
||||||
|
|
||||||
|
* Thu Jun 27 2013 Jean-Philippe Pialasse <tests@pialasse.com> 2.2-1.sme
|
||||||
|
- imported to buildsys
|
||||||
|
- cleaning spec
|
||||||
|
- move conf away from spec - patch0
|
||||||
|
|
||||||
|
* Wed Mar 06 2013 Ap.Muthu <apmuthu@usa.net>
|
||||||
|
- Updated cronmanager.pm for standard SME 8 class display
|
||||||
|
|
||||||
|
* Tue Mar 05 2013 Ap.Muthu <apmuthu@usa.net>
|
||||||
|
- Add Update event to createlinks Copyright to License in rpm spec file
|
||||||
|
|
||||||
|
* Wed May 26 2010 Jean-Philippe Pialasse <tests@pialasse.com>
|
||||||
|
- Add Update event to createlinks expand-template /etc/crontab needed for sme7
|
||||||
|
|
||||||
|
* Mon Jan 07 2008 Michel van hees <michel@vanhees.cc>
|
||||||
|
- Thanks t Sylvain Gomez to fix problem with french traduction
|
||||||
|
|
||||||
|
* Fri Aug 03 2007 Michel Van hees <michel@vanhees.cc>
|
||||||
|
- Fix bug with error 403 in panels
|
||||||
|
|
||||||
|
* Mon Jul 16 2007 Michel Van hees <michel@vanhees.cc>
|
||||||
|
- Thanks to Sulvain Gomez that fixes the uninstall procedure.
|
||||||
|
|
||||||
|
* Sat Jan 01 2005 Michel Van hees <michel@vanhees.cc>
|
||||||
|
- Added support of french
|
||||||
|
|
||||||
|
* Mon Oct 11 2004 Michel Van hees <michel@vanhees.cc>
|
||||||
|
- Initial release
|
||||||
|
|
||||||
|
%description
|
||||||
|
sme server administration panel to control crontab
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl createlinks
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||||||
|
rm -f %{name}-%{version}-filelist
|
||||||
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
|
||||||
|
echo "%doc COPYING" >> %{name}-%{version}-filelist
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%pre
|
||||||
|
|
||||||
|
%preun
|
||||||
|
|
||||||
|
%post
|
||||||
|
|
||||||
|
%postun
|
||||||
|
|
||||||
|
%files -f %{name}-%{version}-filelist
|
||||||
|
%defattr(-,root,root)
|
Loading…
Reference in New Issue
Block a user