hi,
I found 2 errors in your code;
- constructor must be prefixed and suffixed with 2 uderscores ( __init__ )
- you must to call the method main for the execution of your code
regards,
tdob...
User Profile
Collapse
-
Hi,
here's an example which is working on linux, it can be run from cron . Options for find can be different on bsd or another unix.
...Code:dir="/tmp" filename="aaa" last_modif_minutes=30 modified=`find $dir -type f -name $filename -mmin $last_modif_minutes` echo $modified if [ -z $modified ]; then echo "not modified" | /usr/sbin/sendmailLeave a comment:
-
Code:echo "grep envname text" | sed "s/\(grep\)\ \(envname\)\ \(text\)/\1 \3/g"
Leave a comment:
-
No activity results to display
Show More
Leave a comment: