diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e594810 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.rpm +*.log +*spec-20* +*.tar.xz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..48d7a8e --- /dev/null +++ b/Makefile @@ -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) diff --git a/README.md b/README.md index 359b13c..6186a6b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ -# smeserver-crontab_manager +# smeserver-crontab_manager -SMEServer Koozali developed git repo for smeserver-crontab_manager smecontribs \ No newline at end of file +SMEServer Koozali developed git repo for smeserver-crontab_manager smecontribs + +## Wiki +
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 + +
*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* +
diff --git a/additional/COPYING b/additional/COPYING new file mode 100644 index 0000000..eeb586b --- /dev/null +++ b/additional/COPYING @@ -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. + + + Copyright (C) 19yy + + 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. + + , 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. diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..9b7fd51 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +contribs10 diff --git a/createlinks b/createlinks new file mode 100644 index 0000000..71607e2 --- /dev/null +++ b/createlinks @@ -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/) +#and Server Mmanager panel link +panel_link('cronmanager', 'manager'); + diff --git a/root/etc/e-smith/db/configuration/defaults/cronmanager/type b/root/etc/e-smith/db/configuration/defaults/cronmanager/type new file mode 100644 index 0000000..f92f363 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/cronmanager/type @@ -0,0 +1 @@ +configuration diff --git a/root/etc/e-smith/events/actions/cron-update b/root/etc/e-smith/events/actions/cron-update new file mode 100755 index 0000000..043f254 --- /dev/null +++ b/root/etc/e-smith/events/actions/cron-update @@ -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); diff --git a/root/etc/e-smith/events/actions/reload-cron b/root/etc/e-smith/events/actions/reload-cron new file mode 100755 index 0000000..eb9565f --- /dev/null +++ b/root/etc/e-smith/events/actions/reload-cron @@ -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); + diff --git a/root/etc/e-smith/events/cron-update/S00Cron-update b/root/etc/e-smith/events/cron-update/S00Cron-update new file mode 100755 index 0000000..e69de29 diff --git a/root/etc/e-smith/events/cron-update/S10reload-cron b/root/etc/e-smith/events/cron-update/S10reload-cron new file mode 100755 index 0000000..e69de29 diff --git a/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..21d19e0 --- /dev/null +++ b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Управление на crontab + + + FIRST_PAGE_DESCRIPTION + Този панел позволява да добавяте, променяте и изтривате задачи в crontab

]]>
+
+ + ADD + Добави нов crontab + + + BUTTON_LABEL_DISPLAY + Ново показване + + + ALL + Всички записи + + + USERS + Потребителски записи + + + MINUTE + Минути + + + EVERY_MINUTE + Всяка минута + + + HOURS + Часове + + + EVERY_HOURS + Всеки час + + + DAY + Ден + + + EVERY_DAY + Всеки ден + + + MONTH + Месец + + + DAY_WEEK + Ден от седмицата + + + USER_RUN_CRON + Потребител + + + COMMAND + Команда + + + EVERY_MINUTE_TEXT + Всяка минута + + + EVERY_HOUR_TEXT + Всеки час + + + EVERY_DAY_TEXT + Всеки ден + + + EVERY_MONTH_TEXT + Всеки месец + + + EVERY_DAY_OF_WEEK + Всеки ден от седмицата + + + MONDAY + Понеделник + + + TUESDAY + Вторник + + + WEDNESDAY + Сряда + + + THURSDAY + Четвъртък + + + FRIDAY + Петък + + + SATERDAY + Събота + + + SUNDAY + Неделя + + + JANUARY + януари + + + FEBRUARY + февруари + + + MARCH + март + + + APRIL + април + + + MAY + май + + + JUNE + юни + + + JULY + юли + + + AUGUST + август + + + SEPTEMBER + септември + + + OCTOBER + октомври + + + NOVEMBER + ноември + + + DECEMBER + декември + + + CHANGE + Промени + + + DELETE + Изтрии + + + MINUTE_LABEL + '0' е първата минута, т.е. 2.00 противно на '1' е 2.01
БЕЛЕЖКА: ТРЯБВА да изберете минута тук, ако не искате a cron да се изпълнява ВСЯКА МИНУТА! ]]>
+
+ + EVERY_MINUTE_LABEL + изберете всяка минута + + + HOUR_LABEL + '0' е полунощ]]> + + + DAY_LABEL + Изберете дали искате cron да се изпълнява всеки ден, всеки x дни или на x-тия ден от месеца. Както и да изберете стойност тук,
можете да изберете ден от седмицата в полето долу и той ще се изпълнява както на този ден, и в дните които сте избрали тук. ]]>
+
+ + MONTH_LABEL + месец: + + + DAYWEEK_LABEL + Изберете ден от седмицата ако искате да изпълните script в определени дни, например всеки понеделник. Ако сте избрали стойности в полето
'дни' по-горе, командата ще се изпълни както на xx ден от избрания месец, ТАКА И е деня/дните от седмицата посочени тук]]>
+
+ + COMMAND_LABEL + Въведете команда която искате да изпълните. Това може да е път към скрипт, или 'специална' команда. Ако не сте сигурни за пътя до файла/скрипта на сървъра, направете SSH или telnet до сървъра и отидете до папката, където е файла. Напишете 'pwd' в командния ред, това ще Ви покаже сървърни път до папката, където е скрипта. Добавете името на файла след това, и това използвайте по-горе.
Можете да въведете команда направо вместо да входната точка за скрипт.

примери за това са:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + изберете всеки час + + + EVERY_DAY_LABEL + изберете всеки ден + + + MOD_CRON_ENTRY + Създаване или промяна на елемент в crontab + + + SAVE + Запис + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Успешно променен crontab + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Успешно създаден нов елемент в crontab + + + REMOVE + Изтрии + + + DELETE_CRON_ENTRY +
Сигурни ли сте, че искате да изтриете този елемент в crontab??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Успешно изтрит елемент в crontab + +
diff --git a/root/etc/e-smith/locale/da/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..56b5da1 --- /dev/null +++ b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab manager + + + FIRST_PAGE_DESCRIPTION + I dette panel kan du tilføje, ændre eller slette crontab jobs

]]>
+
+ + ADD + Tilføj en ny crontab + + + BUTTON_LABEL_DISPLAY + Ny visning + + + ALL + Alle data + + + USERS + Brugerdata + + + MINUTE + Minutter + + + EVERY_MINUTE + Hvert minut + + + HOURS + Timer + + + EVERY_HOURS + Hver time + + + DAY + Dag + + + EVERY_DAY + Hver dag + + + MONTH + Måned + + + DAY_WEEK + Ugedag + + + USER_RUN_CRON + Bruger + + + COMMAND + Kommando + + + EVERY_MINUTE_TEXT + Hvert minut + + + EVERY_HOUR_TEXT + Hver time + + + EVERY_DAY_TEXT + Hver dag + + + EVERY_MONTH_TEXT + Hver måned + + + EVERY_DAY_OF_WEEK + Hver dag i ugen + + + MONDAY + Mandag + + + TUESDAY + Tirsdag + + + WEDNESDAY + Onsdag + + + THURSDAY + Torsdag + + + FRIDAY + Fredag + + + SATERDAY + Lørdag + + + SUNDAY + Søndag + + + JANUARY + januar + + + FEBRUARY + februar + + + MARCH + marts + + + APRIL + april + + + MAY + maj + + + JUNE + juni + + + JULY + juli + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + oktober + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Ændre + + + DELETE + Slet + + + MINUTE_LABEL + '0' er det første minut, f.eks. 2.00 i modsætning til '1' som er 2.01
BEMÆRK: Du SKAL vælge en værdi her, med mindre du ønsker at cron skal køre HVERT ENESTE MINUT! ]]>
+
+ + EVERY_MINUTE_LABEL + vælg hvert minut + + + HOUR_LABEL + '0' er midnat, '12' er middag og '22' er kl. 10 om aftenen ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + måned: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
Du kan indtaste en kommando direkte i stedet for at pege på et script.

eksempler på indtastninger i dette felt:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + vælg hvert minut + + + EVERY_DAY_LABEL + vælg alle dage + + + MOD_CRON_ENTRY + Opret eller ændr en crontab + + + SAVE + Gem + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab er opdateret + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Der er oprettet en ny crontab + + + REMOVE + Slet + + + DELETE_CRON_ENTRY +
Er du sikker på, at du vil slette denne crontab??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Crontab er slettet + +
diff --git a/root/etc/e-smith/locale/de/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..b437441 --- /dev/null +++ b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab-Manager + + + FIRST_PAGE_DESCRIPTION + Dieses Panel ermöglicht es eine Crontab-Aufgabe hinzuzufügen, zu ändern oder zu löschen

]]>
+
+ + ADD + Erzeuge einen neuen Crontab + + + BUTTON_LABEL_DISPLAY + Neue Anzeige + + + ALL + Alle Aufzeichnungen + + + USERS + Benutzer-Protokolle + + + MINUTE + Minuten + + + EVERY_MINUTE + Jede Minute + + + HOURS + Stunden + + + EVERY_HOURS + Jede Stunde + + + DAY + Tag + + + EVERY_DAY + Jeden Tag + + + MONTH + Monat + + + DAY_WEEK + Wochentag + + + USER_RUN_CRON + Benutzer + + + COMMAND + Befehl + + + EVERY_MINUTE_TEXT + Jede Minute + + + EVERY_HOUR_TEXT + Jede Stunde + + + EVERY_DAY_TEXT + Jeden Tag + + + EVERY_MONTH_TEXT + Jeden Monat + + + EVERY_DAY_OF_WEEK + Jeden Tag der Woche + + + MONDAY + Montag + + + TUESDAY + Dienstag + + + WEDNESDAY + Mittwoch + + + THURSDAY + Donnerstag + + + FRIDAY + Freitag + + + SATERDAY + Samstag + + + SUNDAY + Sonntag + + + JANUARY + Januar + + + FEBRUARY + Februar + + + MARCH + März + + + APRIL + April + + + MAY + Mai + + + JUNE + Juni + + + JULY + Juli + + + AUGUST + August + + + SEPTEMBER + September + + + OCTOBER + Oktober + + + NOVEMBER + November + + + DECEMBER + Dezember + + + CHANGE + Ändern + + + DELETE + Löschen + + + MINUTE_LABEL + '0' ist die erste Minute, z. B. 2.00 im Gegensatz zu '1' als 2.01
Hinweis: Sie MÜSSEN hier eine Minute wählen, wenn Sie verhindern möchten, dass der cronjob jede Minute ausgeführt wird! ]]>
+
+ + EVERY_MINUTE_LABEL + wähle jede Minute + + + HOUR_LABEL + Angabe im 24h-Format: '0' entspricht Mitternacht. ]]> + + + DAY_LABEL + 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. ]]> + + + MONTH_LABEL + Monat: + + + DAYWEEK_LABEL + 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. ]]> + + + COMMAND_LABEL + 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.
Shell-Befehle können Sie direkt und ohne zusätzliche Pfadangabe angeben.

Beispiele für Einträge in diesem Feld:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + wähle jede Stunde + + + EVERY_DAY_LABEL + wähle jeden Tag + + + MOD_CRON_ENTRY + Erzeuge oder ändere einen crontab Eintrag + + + SAVE + Speichern + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab erfolgreich geändert + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Crontab-Eintrag erfolgreich erzeugt + + + REMOVE + Löschen + + + DELETE_CRON_ENTRY +
Sind Sie sicher, dass Sie diesen Crontab-Eintrag löschen wollen??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Crontab Eintrag erfolgreich gelöscht + +
diff --git a/root/etc/e-smith/locale/el/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..c609355 --- /dev/null +++ b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Κάθε ώρα + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + User + + + COMMAND + Command + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Κάθε ώρα + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Αλλαγή + + + DELETE + Διαγραφή + + + MINUTE_LABEL + '0' is the first minute, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + Αποθήκευση + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + Διαγραφή + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..1b63f28 --- /dev/null +++ b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,286 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + + This panel simply permit to add modify or delete crontab task +

+ ]]> +
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Every hour + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + User + + + COMMAND + Command + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Every hour + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Change + + + DELETE + Delete + + + MINUTE_LABEL + + +'0' is the first minute, ie 2.00 as opposed to '1' being 2.01
+NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! + ]]> +
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + + +'0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am +'22' is 10pm + ]]> + + + + DAY_LABEL + + +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,
+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. +]]> +
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + + +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
+'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 + ]]> +
+
+ + COMMAND_LABEL + + +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.
+You can enter a command directly instead of having this entry point to a script.
+
+examples of entries in this field:
+/home/myaccount/backup.cgi
+perl /home/myaccount/backup.cgi
+php /home/myaccount/clean_database.php
+/home/myaccount/clean_database.php
+/home/myaccount/monitor.sh
+touch /tmp/file.lock
+cp -Rfpud /home/myaccount /backup/myaccount/ + ]]> +
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + Save + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + Delete + + + DELETE_CRON_ENTRY + +
Are you sure you want to delete this crontab entry??? + ]]> +
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
+ diff --git a/root/etc/e-smith/locale/es/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..992393e --- /dev/null +++ b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Cada hora + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + Usuario + + + COMMAND + Orden + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Cada hora + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Cambiar + + + DELETE + Borrar + + + MINUTE_LABEL + '0' is the first minute, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + Guardar + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + Borrar + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/et/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..e174f1a --- /dev/null +++ b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab haldus + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Lisa uus crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + Kõik kirjed + + + USERS + Kasutajate kirjed + + + MINUTE + Minutid + + + EVERY_MINUTE + Iga minut + + + HOURS + Tunnid + + + EVERY_HOURS + Iga tunni järel + + + DAY + Päev + + + EVERY_DAY + Iga päev + + + MONTH + Kuu + + + DAY_WEEK + Päev nädalas + + + USER_RUN_CRON + Kasutaja + + + COMMAND + Käsk + + + EVERY_MINUTE_TEXT + Iga minut + + + EVERY_HOUR_TEXT + Iga tunni järel + + + EVERY_DAY_TEXT + Iga päev + + + EVERY_MONTH_TEXT + Iga akuu + + + EVERY_DAY_OF_WEEK + Iga nädalapäev + + + MONDAY + Esmaspäev + + + TUESDAY + Teisipäev + + + WEDNESDAY + Kolmapäev + + + THURSDAY + Teisipäev + + + FRIDAY + Reede + + + SATERDAY + Laupäev + + + SUNDAY + Pühapäev + + + JANUARY + jaanuar + + + FEBRUARY + veebruar + + + MARCH + märts + + + APRIL + aprill + + + MAY + mai + + + JUNE + juuni + + + JULY + juuli + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + oktoober + + + NOVEMBER + november + + + DECEMBER + detsember + + + CHANGE + Muuda + + + DELETE + Kustuta + + + MINUTE_LABEL + '0' on esimene minut, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + vali iga minut + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + kuu: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + vali iga tund + + + EVERY_DAY_LABEL + vali iga päev + + + MOD_CRON_ENTRY + Lisa või muuda crontab-e + + + SAVE + Salvesta + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab edukalt uuendatud + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Uus crontab edukalt loodud + + + REMOVE + Kustuta + + + DELETE_CRON_ENTRY +
]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Crontab edukalt kustutatud + +
diff --git a/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..ed60fbb --- /dev/null +++ b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + Ce panneau permet d'ajouter, modifier ou effacer des tâches planifiées

]]>
+
+ + ADD + Ajouter une nouvelle entrée à crontab + + + BUTTON_LABEL_DISPLAY + Nouvel Affichage + + + ALL + Tous les enregistrements + + + USERS + Enregistrement des utilisateurs + + + MINUTE + Minutes + + + EVERY_MINUTE + Chaque minute + + + HOURS + Heures + + + EVERY_HOURS + Toutes les heures + + + DAY + Jour + + + EVERY_DAY + Chaque jour + + + MONTH + Mois + + + DAY_WEEK + Jour de la semaine + + + USER_RUN_CRON + Utilisateur + + + COMMAND + Commande + + + EVERY_MINUTE_TEXT + Chaque minute + + + EVERY_HOUR_TEXT + Toutes les heures + + + EVERY_DAY_TEXT + Chaque jour + + + EVERY_MONTH_TEXT + Chaque mois + + + EVERY_DAY_OF_WEEK + Chaque jour de la semaine + + + MONDAY + Lundi + + + TUESDAY + Mardi + + + WEDNESDAY + Mercredi + + + THURSDAY + Jeudi + + + FRIDAY + Vendredi + + + SATERDAY + Samedi + + + SUNDAY + Dimanche + + + JANUARY + janvier + + + FEBRUARY + février + + + MARCH + mars + + + APRIL + avril + + + MAY + mai + + + JUNE + juin + + + JULY + juillet + + + AUGUST + août + + + SEPTEMBER + septembre + + + OCTOBER + octobre + + + NOVEMBER + novembre + + + DECEMBER + décembre + + + CHANGE + Modifier + + + DELETE + Supprimer + + + MINUTE_LABEL + '0' est la première minute, c'est-à-dire 2.00 par opposition à '1' qui est 2.01
NOTE : vous DEVEZ choisir une minute ici si vous ne voulez pas que la tâche tourne TOUTES LES MINUTES !]]>
+
+ + EVERY_MINUTE_LABEL + Choisir toutes les minutes + + + HOUR_LABEL + '0' est minuit, c'est-à-dire 12.00 am, par opposition à '1' qui est 1.00 am, '22' est 10 pm]]> + + + DAY_LABEL + 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,
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.]]>
+
+ + MONTH_LABEL + mois: + + + DAYWEEK_LABEL + choisissez un jour de la semaine si vous voulez que votre tâche s’exécute seulement certains jours, par exemple chaque lundi.
Si vous avez sélectionné des valeurs dans le
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 ]]>
+
+ + COMMAND_LABEL + 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.
Vous pouvez entrer une commande directement à la place de pointer cette entrée vers un script.

Exemples de commande dans ce champ :
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + Choisir toutes les heures + + + EVERY_DAY_LABEL + choisir tous les jours + + + MOD_CRON_ENTRY + Créer ou modifier une entrée crontab + + + SAVE + Enregistrer + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab mis à jour avec succès + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Entrée Crontab effacée avec succès. + + + REMOVE + Supprimer + + + DELETE_CRON_ENTRY +
Êtes-vous sure de vouloir effacer cette tâche ??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Entrée crontab supprimée avec succès + +
diff --git a/root/etc/e-smith/locale/he/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..e79450f --- /dev/null +++ b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Every hour + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + User + + + COMMAND + Command + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Every hour + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Change + + + DELETE + Delete + + + MINUTE_LABEL + '0' is the first minute, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + שמור + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + Delete + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..33e37f8 --- /dev/null +++ b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Új crontab hozzáadása + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Minden órában + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + Felhasználó + + + COMMAND + Parancs + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Minden órában + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Szerda + + + THURSDAY + Csütörtök + + + FRIDAY + Péntek + + + SATERDAY + Szombat + + + SUNDAY + Vasárnap + + + JANUARY + január + + + FEBRUARY + február + + + MARCH + március + + + APRIL + április + + + MAY + május + + + JUNE + június + + + JULY + július + + + AUGUST + augusztus + + + SEPTEMBER + szeptember + + + OCTOBER + október + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Módosítás + + + DELETE + Törlés + + + MINUTE_LABEL + '0' az első perc, azaz 2.00, szemben az '1'-gyel, ami 2.01
MEGJEGYZÉS: itt KELL választani egy percet, ha nem akarja, hogy a cron MINDENKOR fusson! ]]>
+
+ + EVERY_MINUTE_LABEL + válassza minden percet + + + HOUR_LABEL + '0' az éjfél, azaz 12.00 óra, szemben az '1'-gyel, ami 1.00 óra '22' az este 10 ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + Mentés + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + Törlés + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/id/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..397704a --- /dev/null +++ b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Tiap jam + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + User + + + COMMAND + Command + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Tiap jam + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Change + + + DELETE + Hapus + + + MINUTE_LABEL + '0' is the first minute, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + Simpan + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + Hapus + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/it/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..590e3ff --- /dev/null +++ b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + Questo pannello permette di aggiungere, modificare o cancellare i task crontab

]]>
+
+ + ADD + Aggiungi un nuovo crontab + + + BUTTON_LABEL_DISPLAY + Nuova Visione + + + ALL + Tutti i campi + + + USERS + Campi utente + + + MINUTE + Minuti + + + EVERY_MINUTE + Ogni minuto + + + HOURS + Ore + + + EVERY_HOURS + Ogni ora + + + DAY + Giorno + + + EVERY_DAY + Ogni giorno + + + MONTH + Mese + + + DAY_WEEK + Giorno della settimana + + + USER_RUN_CRON + Utente + + + COMMAND + Comando + + + EVERY_MINUTE_TEXT + Ogni minuto + + + EVERY_HOUR_TEXT + Ogni ora + + + EVERY_DAY_TEXT + Ogni giorno + + + EVERY_MONTH_TEXT + Ogni mese + + + EVERY_DAY_OF_WEEK + Ogni giorno della settimana + + + MONDAY + Lunedì + + + TUESDAY + Martedì + + + WEDNESDAY + Mercoledì + + + THURSDAY + Giovedì + + + FRIDAY + Venerdì + + + SATERDAY + Sabato + + + SUNDAY + Domenica + + + JANUARY + gennaio + + + FEBRUARY + febbraio + + + MARCH + marzo + + + APRIL + aprile + + + MAY + maggio + + + JUNE + giugno + + + JULY + luglio + + + AUGUST + agosto + + + SEPTEMBER + settembre + + + OCTOBER + ottobre + + + NOVEMBER + novembre + + + DECEMBER + dicembre + + + CHANGE + Cambia + + + DELETE + Elimina + + + MINUTE_LABEL + '0' è il primo minuto, vale a dire 2.00 mentre '1' diventa 2.01
NOTA: si DEVE scegliere un minuto altrimenti il cron job verrà eseguito OGNI MINUTO! ]]>
+
+ + EVERY_MINUTE_LABEL + scegli ogni minuto + + + HOUR_LABEL + '0' è mezzanotte, vale a dire 12.00 am mentre '1' corrisponde a 1.00 am e '22' è 10pm ]]> + + + DAY_LABEL + 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,
si può scegliere un giorno della settimana nel campo seguente e il cron-job verrà eseguito in entrambi i giorni selezionati nei due campi. ]]>
+
+ + MONTH_LABEL + mese: + + + DAYWEEK_LABEL + 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
'giorni' sopra riportato, il comando verrà eseguito sia nell'n-eseimo giorno del mese scelto, SIA nel giorno/giorni della settimana selezionati qui ]]>
+
+ + COMMAND_LABEL + 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'.
Si può ugualmente inserire direttamente un comando invece di puntare ad uno script.

esempi di comandi:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + scegliere ogni ora + + + EVERY_DAY_LABEL + scegliere ogni giorno + + + MOD_CRON_ENTRY + Creare o Modificare un comando crontab + + + SAVE + Salva + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab aggiornato con successo + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Nuova voce crontab creata con successo + + + REMOVE + Elimina + + + DELETE_CRON_ENTRY +
Siete sicuri di volere cancellare la voce crontab ??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Voce crontab cancellata con successo + +
diff --git a/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..276f00e --- /dev/null +++ b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Every hour + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + 利用者 + + + COMMAND + 命令 + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Every hour + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + 変更 + + + DELETE + 削除 + + + MINUTE_LABEL + '0' is the first minute, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + 保存 + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + 削除 + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..6e27c82 --- /dev/null +++ b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Hver time + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + Bruker + + + COMMAND + Kommando + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Hver time + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Endre + + + DELETE + Slett + + + MINUTE_LABEL + '0' is the first minute, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + Lagre + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + Slett + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..fea7e04 --- /dev/null +++ b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + Dit paneel is voor het toevoegen, aanpassen en verwijderen van crontab taken

]]>
+
+ + ADD + Voeg een nieuwe crontab taak toe + + + BUTTON_LABEL_DISPLAY + Nieuw Scherm + + + ALL + Alle taken + + + USERS + Gebruikers gegevens + + + MINUTE + minuten + + + EVERY_MINUTE + Elke minuut + + + HOURS + uren + + + EVERY_HOURS + Elk uur + + + DAY + dag + + + EVERY_DAY + Elke dag + + + MONTH + maand + + + DAY_WEEK + dag van de week + + + USER_RUN_CRON + Gebruiker + + + COMMAND + Commando + + + EVERY_MINUTE_TEXT + Elke minuut + + + EVERY_HOUR_TEXT + Elk uur + + + EVERY_DAY_TEXT + Elke dag + + + EVERY_MONTH_TEXT + Elke maand + + + EVERY_DAY_OF_WEEK + Elke dag van de week + + + MONDAY + maandag + + + TUESDAY + dinsdag + + + WEDNESDAY + woensdag + + + THURSDAY + donderdag + + + FRIDAY + vrijdag + + + SATERDAY + zaterdag + + + SUNDAY + zondag + + + JANUARY + januari + + + FEBRUARY + februari + + + MARCH + maart + + + APRIL + april + + + MAY + mei + + + JUNE + juni + + + JULY + juli + + + AUGUST + augustus + + + SEPTEMBER + september + + + OCTOBER + oktober + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Wijzig + + + DELETE + Verwijderen + + + MINUTE_LABEL + '0' is de eerste minuut, ie 2.00 in tegenstelling tot '1' wat 2.01 is.
NB: U MOET hier een minuut kiezen als U niet wilt dat cron ELKE MINUUT wordt uitgevoerd! ]]>
+
+ + EVERY_MINUTE_LABEL + kies elke minuut + + + HOUR_LABEL + 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 ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + maand: + + + DAYWEEK_LABEL + 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
de cron taak zal zowel uitgevoerd worden op de ingestelde dag van de maan EN de dag of dagen die hier gekozen zijn. ]]>
+
+ + COMMAND_LABEL + 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.
U kunt ook meteen een commando invullen in plaats van verwijzing naar een script.

voorbeelden van waarden voor dit veld:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + kies elk uur + + + EVERY_DAY_LABEL + kies elke dag + + + MOD_CRON_ENTRY + Creëer of Wijzig een crontab taak. + + + SAVE + Opslaan + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab succesvol aangepast + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Nieuwe crontab taak aangemaakt + + + REMOVE + Verwijderen + + + DELETE_CRON_ENTRY +
Weet U zeker dat U deze crontab taak wilt verwijderen? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Crontab taak succesvol verwijdert + +
diff --git a/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..f529e80 --- /dev/null +++ b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Every hour + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + Użytkownik + + + COMMAND + Polecenie + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Every hour + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Zmień + + + DELETE + Usuń + + + MINUTE_LABEL + '0' is the first minute, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + Zapisz + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + Usuń + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..2e15e04 --- /dev/null +++ b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Gerenciador do Crontab + + + FIRST_PAGE_DESCRIPTION + Este painel permite facilmente adicionar, modificar ou apagar tarefas no crontab

]]>
+
+ + ADD + Adicionar uma nova crontab + + + BUTTON_LABEL_DISPLAY + Novo Display + + + ALL + Todos registros + + + USERS + registros dos usuários + + + MINUTE + Minutos + + + EVERY_MINUTE + Cada minuto + + + HOURS + Horas + + + EVERY_HOURS + Cada hora + + + DAY + Dia + + + EVERY_DAY + Cada dia + + + MONTH + Mes + + + DAY_WEEK + Dia da semana + + + USER_RUN_CRON + Usuário + + + COMMAND + Comando + + + EVERY_MINUTE_TEXT + Cada minuto + + + EVERY_HOUR_TEXT + Cada hora + + + EVERY_DAY_TEXT + Cada dia + + + EVERY_MONTH_TEXT + Cada mês + + + EVERY_DAY_OF_WEEK + Cada dia da semana + + + MONDAY + Segunda + + + TUESDAY + Terça + + + WEDNESDAY + Quarta + + + THURSDAY + Quinta + + + FRIDAY + Sexta + + + SATERDAY + Sábado + + + SUNDAY + Domingo + + + JANUARY + Janeiro + + + FEBRUARY + Fevereiro + + + MARCH + Março + + + APRIL + Abril + + + MAY + Maio + + + JUNE + Junho + + + JULY + Julho + + + AUGUST + Agosto + + + SEPTEMBER + Setembro + + + OCTOBER + Outubro + + + NOVEMBER + Novembro + + + DECEMBER + Dezembro + + + CHANGE + Alterar + + + DELETE + Excluir + + + MINUTE_LABEL + '0' é o primeiro minuto, ex 2.00 em vez de '1' sendo 2.01
AVISO: você PRECISA escolher um minuto aqui ou o cron irá rodar A CADA MINUTO! ]]>
+
+ + EVERY_MINUTE_LABEL + Escolher cada minuto + + + HOUR_LABEL + '0' é meia-noite, ou seja 12.00 am . E '1' é 1.00 am '22' siginifica 10pm ]]> + + + DAY_LABEL + 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,
você pode escolher um dia da semana no campo a seguir e ele irá rodar em ambas datas selecionadas. ]]>
+
+ + MONTH_LABEL + mês: + + + DAYWEEK_LABEL + Escolha o dia da semana se você deseja executar o script em certos dias, por exemplo, a cada Segunda. Se você selecionar valores no
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.]]>
+
+ + COMMAND_LABEL + 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.
Você pode entrar um comando diretamente em vez de usar um script. t.

Exemplos de entradas neste campo:
/home/minhaconta/backup.cgi
perl /home/minhaconta/backup.cgi
php /home/minhaconta/clean_database.php
/home/minhaconta/clean_database.php
/home/minhaconta/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/minhaconta /backup/minhaconta/ ]]>
+
+ + EVERY_HOUR_LABEL + escolher cada hora + + + EVERY_DAY_LABEL + escolher cada dia + + + MOD_CRON_ENTRY + Criar ou Modificar uma entrada crontab + + + SAVE + Salvar + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab atualizado com sucesso + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Criado nova entrada no crontab com sucesso + + + REMOVE + Excluir + + + DELETE_CRON_ENTRY +
Você está certo de que deseja apagar esta entrada do crontab??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Entrada no crontab apagada com sucesso + +
diff --git a/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..aedc6c5 --- /dev/null +++ b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Cada hora + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + Usuário + + + COMMAND + Comando + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Cada hora + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Alterar + + + DELETE + Apagar + + + MINUTE_LABEL + '0' is the first minute, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + Salvar + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + Apagar + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..ebce8cc --- /dev/null +++ b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Every hour + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + User + + + COMMAND + Command + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Every hour + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Modifică + + + DELETE + Şterge + + + MINUTE_LABEL + '0' is the first minute, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + Salvează + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + Şterge + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..9691079 --- /dev/null +++ b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Каждый час + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + Пользователь + + + COMMAND + Command + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Каждый час + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Изменить + + + DELETE + Удалить + + + MINUTE_LABEL + '0' is the first minute, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + Сохранить + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + Удалить + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..80f3b06 --- /dev/null +++ b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Vsako uro + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + User + + + COMMAND + Command + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Vsako uro + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Spremeni + + + DELETE + Izbriši + + + MINUTE_LABEL + '0' is the first minute, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + Shrani + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + Izbriši + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..6d70bbb --- /dev/null +++ b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Varje timme + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + Användare + + + COMMAND + Kommando + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Varje timme + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Ändra + + + DELETE + Radera + + + MINUTE_LABEL + '0' is the first minute, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + Spara + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + Radera + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/th/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..55db66c --- /dev/null +++ b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + ทุกๆ ชั่วโมง + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + User + + + COMMAND + คำสั่ง + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + ทุกๆ ชั่วโมง + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Change + + + DELETE + ลบ + + + MINUTE_LABEL + '0' is the first minute, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + บันทึก + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + ลบ + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..e5c0ef5 --- /dev/null +++ b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + Crontab Manager + + + FIRST_PAGE_DESCRIPTION + This panel simply permit to add modify or delete crontab task

]]>
+
+ + ADD + Add a new crontab + + + BUTTON_LABEL_DISPLAY + New Display + + + ALL + All records + + + USERS + Users records + + + MINUTE + Minutes + + + EVERY_MINUTE + Every minute + + + HOURS + Hours + + + EVERY_HOURS + Her saat + + + DAY + Day + + + EVERY_DAY + Every day + + + MONTH + Month + + + DAY_WEEK + Day of the week + + + USER_RUN_CRON + User + + + COMMAND + Command + + + EVERY_MINUTE_TEXT + Every minute + + + EVERY_HOUR_TEXT + Her saat + + + EVERY_DAY_TEXT + Every day + + + EVERY_MONTH_TEXT + Every month + + + EVERY_DAY_OF_WEEK + Every day of week + + + MONDAY + Monday + + + TUESDAY + Tuesday + + + WEDNESDAY + Wednesday + + + THURSDAY + Thursday + + + FRIDAY + Friday + + + SATERDAY + Saturday + + + SUNDAY + Sunday + + + JANUARY + january + + + FEBRUARY + february + + + MARCH + march + + + APRIL + april + + + MAY + may + + + JUNE + june + + + JULY + july + + + AUGUST + august + + + SEPTEMBER + september + + + OCTOBER + october + + + NOVEMBER + november + + + DECEMBER + december + + + CHANGE + Değiştir + + + DELETE + Sil + + + MINUTE_LABEL + '0' is the first minute, ie 2.00 as opposed to '1' being 2.01
NOTE: you MUST choose a minute here if you do not want the cron to run EVERY MINUTE! ]]>
+
+ + EVERY_MINUTE_LABEL + choose every minute + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 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,
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. ]]>
+
+ + MONTH_LABEL + month: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + choose every hour + + + EVERY_DAY_LABEL + choose every day + + + MOD_CRON_ENTRY + Create or Modify a crontab entry + + + SAVE + Kaydet + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + Crontab successfully updated + + + SUCCESSFULLY_CREATE_CRON_ENTRY + Successfully create new crontab entry + + + REMOVE + Sil + + + DELETE_CRON_ENTRY +
Are you sure you want to delete this crontab entry??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + Successfully deleted crontab entry + +
diff --git a/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..05ff51c --- /dev/null +++ b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + 任务计划管理器 + + + FIRST_PAGE_DESCRIPTION + 这个面板可以轻松地添加或者删除计划任务

]]>
+
+ + ADD + 添加任务计划 + + + BUTTON_LABEL_DISPLAY + 新的显示 + + + ALL + 所有记录 + + + USERS + 用户记录 + + + MINUTE + 分钟 + + + EVERY_MINUTE + 每分钟 + + + HOURS + 小时 + + + EVERY_HOURS + 每小时 + + + DAY + + + + EVERY_DAY + 每天 + + + MONTH + + + + DAY_WEEK + 星期几 + + + USER_RUN_CRON + 用户 + + + COMMAND + 命令 + + + EVERY_MINUTE_TEXT + 每分钟 + + + EVERY_HOUR_TEXT + 每小时 + + + EVERY_DAY_TEXT + 每天 + + + EVERY_MONTH_TEXT + 每月 + + + EVERY_DAY_OF_WEEK + 每周每天 + + + MONDAY + 星期一 + + + TUESDAY + 星期二 + + + WEDNESDAY + 星期三 + + + THURSDAY + 星期四 + + + FRIDAY + 星期五 + + + SATERDAY + 星期六 + + + SUNDAY + 星期日 + + + JANUARY + 一月 + + + FEBRUARY + 二月 + + + MARCH + 三月 + + + APRIL + 四月 + + + MAY + 五月 + + + JUNE + 六月 + + + JULY + 七月 + + + AUGUST + 八月 + + + SEPTEMBER + 九月 + + + OCTOBER + 十月 + + + NOVEMBER + 十一月 + + + DECEMBER + 十二月 + + + CHANGE + 更改 + + + DELETE + 删除 + + + MINUTE_LABEL + '0' 是分钟的开始, 例如 2.00 as opposed to '1' being 2.01
注意: 您必须选择分钟,除非您想每分钟运行一次任务计划! ]]>
+
+ + EVERY_MINUTE_LABEL + 选择分钟 + + + HOUR_LABEL + '0' is midnight, ie 12.00 am as opposed to '1' being 1.00 am '22' is 10pm ]]> + + + DAY_LABEL + 选择每天或者每几天甚至某月的某一天运行任务计划。请在这里做出选择,
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. ]]>
+
+ + MONTH_LABEL + 月份: + + + DAYWEEK_LABEL + 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
'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 ]]>
+
+ + COMMAND_LABEL + 输入您想要执行的命令。它可以是一个脚本的路径,也可以是某个系统命令。如果您不确定文件或脚本的路径,请SSH 或telnet 到服务器上来确定。在命令行输入 'pwd',就会显示当面目录的路径。 Add the file name to the end of this, and that's what you use above.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + 选择时钟 + + + EVERY_DAY_LABEL + 选择日期 + + + MOD_CRON_ENTRY + 创建或修改任务计划 + + + SAVE + 保存 + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + 任务计划已经更新 + + + SUCCESSFULLY_CREATE_CRON_ENTRY + 任务计划创建成功 + + + REMOVE + 删除 + + + DELETE_CRON_ENTRY +
真的要删除这条计划任务吗??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + 任务计划删除成功 + +
diff --git a/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/cronmanager new file mode 100644 index 0000000..23a5f38 --- /dev/null +++ b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/cronmanager @@ -0,0 +1,234 @@ + + + FORM_TITLE + 例行性工作排程管理員 + + + FIRST_PAGE_DESCRIPTION + 此控制台只允許加入修正或刪除例行性工作排程

]]>
+
+ + ADD + 增加新的例行性工作排程 + + + BUTTON_LABEL_DISPLAY + 新顯示 + + + ALL + 所有紀錄 + + + USERS + 使用者紀錄 + + + MINUTE + 分鐘 + + + EVERY_MINUTE + 每分鐘 + + + HOURS + 小時 + + + EVERY_HOURS + 每小時 + + + DAY + + + + EVERY_DAY + 每日 + + + MONTH + + + + DAY_WEEK + 一週中的日子 + + + USER_RUN_CRON + 使用者 + + + COMMAND + 指令 + + + EVERY_MINUTE_TEXT + 每分鐘 + + + EVERY_HOUR_TEXT + 每小時 + + + EVERY_DAY_TEXT + 每日 + + + EVERY_MONTH_TEXT + 每月 + + + EVERY_DAY_OF_WEEK + 一週中的每個日子 + + + MONDAY + 週一 + + + TUESDAY + 週二 + + + WEDNESDAY + 週三 + + + THURSDAY + 週四 + + + FRIDAY + 週五 + + + SATERDAY + 週六 + + + SUNDAY + 週日 + + + JANUARY + 一月 + + + FEBRUARY + 二月 + + + MARCH + 三月 + + + APRIL + 四月 + + + MAY + 五月 + + + JUNE + 六月 + + + JULY + 七月 + + + AUGUST + 八月 + + + SEPTEMBER + 九月 + + + OCTOBER + 十月 + + + NOVEMBER + 十一月 + + + DECEMBER + 十二月 + + + CHANGE + 變更 + + + DELETE + 刪除 + + + MINUTE_LABEL + '0' 是第一分鐘,例如 2.00, 相對於 '1' 是 2.01
注意:您必須於"分鐘"處選擇一個數字,倘若您不想讓例行性工作排程每分鐘運作!]]>
+
+ + EVERY_MINUTE_LABEL + 選擇每分鐘 + + + HOUR_LABEL + '0' 是午夜,例如 12.00 am ,相對於 '1' 是 1.00 am '22' 是 10pm ]]> + + + DAY_LABEL + 任選您欲使工作排程執行於每日、每X日或每月第X日。只要於此處任選一值,
您可於此區塊下拉選單以選擇星期幾,然後它將同時於那一日與您此處選擇的當日執行。]]>
+
+ + MONTH_LABEL + 月: + + + DAYWEEK_LABEL + 若您在特定日子欲執行程式腳本,請選擇星期,例如每周一。若您已經選擇數值於上列
'日數'區塊中,該命令將同時執行於選定的該月xx日,以及此處選定一周中的特定日/特定數日。]]>
+
+ + COMMAND_LABEL + 輸入您欲執行的命令。此處既可為程式腳本的路徑,或是"特別的"命令。若您不確定伺服器檔案/腳本,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.
You can enter a command directly instead of having this entry point to a script.

examples of entries in this field:
/home/myaccount/backup.cgi
perl /home/myaccount/backup.cgi
php /home/myaccount/clean_database.php
/home/myaccount/clean_database.php
/home/myaccount/monitor.sh
touch /tmp/file.lock
cp -Rfpud /home/myaccount /backup/myaccount/ ]]>
+
+ + EVERY_HOUR_LABEL + 選擇每小時 + + + EVERY_DAY_LABEL + 選擇每日 + + + MOD_CRON_ENTRY + 建立或修正例行性工作排程資料 + + + SAVE + 儲存 + + + SUCCESSFULLY_MODIFY_CRON_ENTRY + 例行性工作排程成功更新 + + + SUCCESSFULLY_CREATE_CRON_ENTRY + 成功建立例行性工作排程資料 + + + REMOVE + 刪除 + + + DELETE_CRON_ENTRY +
您確定要刪除例行性工作排程資料??? ]]>
+
+ + SUCCESSFULLY_DELETE_CRON_ENTRY + 成功刪除例行性工作排程資料 + +
diff --git a/root/etc/e-smith/templates/etc/crontab/70cronmanager b/root/etc/e-smith/templates/etc/crontab/70cronmanager new file mode 100644 index 0000000..6f99bf1 --- /dev/null +++ b/root/etc/e-smith/templates/etc/crontab/70cronmanager @@ -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") || ""; + } +} diff --git a/root/etc/e-smith/web/functions/cronmanager b/root/etc/e-smith/web/functions/cronmanager new file mode 100755 index 0000000..d8b6a6c --- /dev/null +++ b/root/etc/e-smith/web/functions/cronmanager @@ -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__ +
+ + + + FIRST_PAGE_DESCRIPTION + + + + + MOD_CRON_ENTRY + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE_CRON_ENTRY + + + +
diff --git a/root/etc/e-smith/web/panels/manager/cgi-bin/cronmanager b/root/etc/e-smith/web/panels/manager/cgi-bin/cronmanager new file mode 120000 index 0000000..326d71a --- /dev/null +++ b/root/etc/e-smith/web/panels/manager/cgi-bin/cronmanager @@ -0,0 +1 @@ +../../../functions/cronmanager \ No newline at end of file diff --git a/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/cronmanager.pm b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/cronmanager.pm new file mode 100755 index 0000000..37b1ccc --- /dev/null +++ b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/cronmanager.pm @@ -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 ""; + print ""; + print ""; + print ""; + + 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 ""; + $small_index=0; + foreach $cron_entry (@cron_entry) { + if ($small_index eq '6') { + if ($cron_entry eq '*') { + print ""; + } else { + print ""; + } + } elsif ($small_index eq '7') { + if ($cron_entry eq '*') { + print ""; + } else { + print ""; + } + } else { + print ""; + } + $small_index++; + } + print ""; + print ""; + print ""; + $index++; + $value=db_get_prop(\%conf, "cronmanager","task$index") || ""; + } + + print "
" . $self->localise('MINUTE' ) . "" . $self->localise('EVERY_MINUTE' ) . "" . $self->localise('HOURS' ) . "" . $self->localise('EVERY_HOURS' ) . "" . $self->localise('DAY' ) . "" . $self->localise('EVERY_DAY' ) . "" . $self->localise('MONTH' ) . "" . $self->localise('DAY_WEEK' ) . "" . $self->localise('USER_RUN_CRON' ) . "" . $self->localise('COMMAND' ) . "Action
".$self->localise('EVERY_MONTH_TEXT')."".$self->localise(convert_month($cron_entry))."".$self->localise('EVERY_DAY_OF_WEEK')."".$self->localise(convert_dayweek($cron_entry))."$cron_entry" . $self->localise('MODIFY' ) . "" . $self->localise('REMOVE' ) . "
"; + + 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 "
"; + print ""; + print ""; + print ""; + print "localise($fld) . "\">"; + print "
"; + 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( + + + + ); + 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( + + + + ); + + 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; diff --git a/smeserver-crontab_manager.spec b/smeserver-crontab_manager.spec new file mode 100644 index 0000000..f3b03a1 --- /dev/null +++ b/smeserver-crontab_manager.spec @@ -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 +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 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 2.4.8.sme +- apply locale 2024-09-04.patch + +* Sat Aug 21 2021 Terry Fage 2.4.7.sme +- apply locale 2021-08-21 patch + +* Fri Apr 09 2021 Jean-Philippe Pialasse 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 2.4-5.sme +- Add Update event to createlinks [SME: 11027] + +* Sun Oct 11 2020 Brian Read 2.4-4.sme +- Initial import to SME10 tree [SME: 11027] +- Change link to panel to reference wrapper + +* Wed Mar 09 2016 JP Pialasse 2.4-3.sme +- apply locale 2016-03-09 patch + +* Wed Jul 01 2015 Stephane de Labrusse - 2.4-2 +- Added smeserver-crontab_manager-2.4-locale-2015-07-01.patch [SME: 8965] + +* Sun Jun 08 2014 Stephane de Labrusse - 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 2.2-2.sme +- apply locale 2013-07-14 patch + +* Thu Jun 27 2013 Jean-Philippe Pialasse 2.2-1.sme +- imported to buildsys +- cleaning spec +- move conf away from spec - patch0 + +* Wed Mar 06 2013 Ap.Muthu +- Updated cronmanager.pm for standard SME 8 class display + +* Tue Mar 05 2013 Ap.Muthu +- Add Update event to createlinks Copyright to License in rpm spec file + +* Wed May 26 2010 Jean-Philippe Pialasse +- Add Update event to createlinks expand-template /etc/crontab needed for sme7 + +* Mon Jan 07 2008 Michel van hees +- Thanks t Sylvain Gomez to fix problem with french traduction + +* Fri Aug 03 2007 Michel Van hees +- Fix bug with error 403 in panels + +* Mon Jul 16 2007 Michel Van hees +- Thanks to Sulvain Gomez that fixes the uninstall procedure. + +* Sat Jan 01 2005 Michel Van hees +- Added support of french + +* Mon Oct 11 2004 Michel Van hees +- 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)