hi,
I have scripts which are running every 3 minutes. The scripts include connection to a database, using sqlplus. Sometimes, the connection fails (invalid username or password, locked user etc..) and the connection returns the error code, to the unix screen or to a file.
I want whenever there's... (2 Replies)
when i run the scripts from command line like
php ./file.php they run fine and it ends.
But i have them running in crontab every 5 minutes and they sometimes dont close. Can i write something to log why or force them to close after a certain amount of time by killing the pid? (2 Replies)
Hello Friends,
I've been searching solutions for an exceptional backup case recently, I need someone to guide me, suggest a method pls.
In a production system we have backup scripts, they are run by cron one after another, and monthly. There is 1 hour difference between each consecutive script... (1 Reply)
Hi all
I installed Debian and i have a few scripts that outputs what is happening.
The wierd part...after fresh install all works ok but after i open or edit Crontab it stops executing the scripts...and scripts runs manually so its not a problem with scripts...what happens is that i usually... (3 Replies)
hi,
instead of typing crontab -e i gave crontab -r and hit enter. So i lost all my scripts.
Is there any way to restore the deleted scripts?
Please help me out
Thanks
Ajay (3 Replies)
I'm trying to create a crontab that runs every hour and runs a script in my $HOME/bin directory.
Everytime it goes to run it I get this mail.
Message 14:
From root@xx.xxxx.edu Thu Apr 12 14:03:01 2012
Return-Path: <root@xx.xxxx.edu>
X-Original-To: bbowers
Delivered-To:... (4 Replies)
Hi,
I have a query related to UNIX Crontab scripts -
Issue: Server space on the db server got 100% full as a result of which the cron scripts did not run. The space utilization issue got resolved in the afternoon. The crons scheduled for a time post the resolution caught up. However the... (1 Reply)
Hi Forum,
Good Day!
I have created an empty html file wtih permissoin 777
created shell script(with permission 777) , code is below.
#=======================start==============
. /data09/oracle/apps_st/appl/D_oraapp095.env
rm -rf /home/mnp/Test_log.txt
echo... (1 Reply)
Hello all,
Hope all's well.
i'm not sure if this is possible but i have some scripts running in a crontab with different intervals, 1min, 5 min, etc.
As for a "cleaner" and better control of these scripts (as by time we will have hundred's of scripts used for the same purpose, i.e for Nagios... (4 Replies)
Discussion started by: nms
4 Replies
LEARN ABOUT DEBIAN
css::minifier
CSS::Minifier(3pm) User Contributed Perl Documentation CSS::Minifier(3pm)NAME
CSS::Minifier - Perl extension for minifying CSS
SYNOPSIS
To minify a CSS file and have the output written directly to another file
use CSS::Minifier qw(minify);
open(INFILE, 'myStylesheet.css') or die;
open(OUTFILE, 'myStylesheet.css') or die;
minify(input => *INFILE, outfile => *OUTFILE);
close(INFILE);
close(OUTFILE);
To minify a CSS string literal. Note that by omitting the outfile parameter a the minified code is returned as a string.
my minifiedCSS = minify(input => 'div {font-family: serif;}');
To include a copyright comment at the top of the minified code.
minify(input => 'div {font-family: serif;}', copyright => 'BSD License');
The "input" parameter is manditory. The "output" and "copyright" parameters are optional and can be used in any combination.
DESCRIPTION
This module removes unnecessary whitespace from CSS. The primary requirement developing this module is to not break working stylesheets: if
working CSS is in input then working CSS is output. The Mac/Internet Explorer comment hack will be minimized but not stripped and so will
continue to function.
This module understands space, horizontal tab, new line, carriage return, and form feed characters to be whitespace. Any other characters
that may be considered whitespace are not minimized. These other characters include paragraph separator and vertical tab.
For static CSS files, it is recommended that you minify during the build stage of web deployment. If you minify on-the-fly then it might be
a good idea to cache the minified file. Minifying static files on-the-fly repeatedly is wasteful.
EXPORT
None by default.
Exportable on demand: minifiy()
SEE ALSO
This project is developed using an SVN repository. To check out the repository svn co http://dev.michaux.ca/svn/random/CSS-Minifier
You may also be interested in the JavaScript::Minifier module also available on CPAN.
AUTHORS
Peter Michaux, <petermichaux@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2007 by Peter Michaux
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or,
at your option, any later version of Perl 5 you may have available.
perl v5.12.3 2007-08-03 CSS::Minifier(3pm)