This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
TIPO=$1; | |
PROC=`ps -Af | grep /home/fabio/sites/compras/script/compras | grep -v grep | awk '{print $2}'`; | |
if [ "$TIPO" == "parar" ] ; then | |
if [ "$PROC" != "" ] ; then | |
kill -9 $PROC; | |
fi; | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Mojolicious::Lite; | |
use Mojolicious::Static; | |
use Cwd; | |
my $static = Mojolicious::Static->new; | |
$static->paths([getcwd]); | |
app->static($static); | |
app->start('daemon'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
option explicit | |
dim fs | |
Set fs = CreateObject("Scripting.FileSystemObject") | |
main | |
sub main () |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*/5 * * * * /home/ZZZZZ/track-directlog/tracking-directlog.sh 99999999 8888888 Produto > /dev/null 2>&1 | |
onde http://www.directlog.com.br/tracking/index.asp?tipo=2&valor=99999999&cod=8888888 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attribute VB_Name = "Anexos" | |
Option Explicit | |
Public Sub TratarAnexos() | |
Dim Item As MailItem | |
If Not Application.ActiveWindow Is Nothing Then | |
If TypeName(Application.ActiveWindow) = "Inspector" Then | |
If Not Application.ActiveWindow.CurrentItem Is Nothing Then |
OlderNewer