Search Results

Search: Posts Made By: diogooute
1,589
Posted By diogooute
make a script to execute and make everything. ...
make a script to execute and make everything.
something like that:
(shell script bash)


#!/bin/bash

NEW_OWNER="you"
PERMISSION="777"
FILE[0]="~/txt1.txt"
FILE[1]="~/txt2.txt"...
47,392
Posted By diogooute
I guess yes... Maybe no permission. If u syntax...
I guess yes...
Maybe no permission. If u syntax is wrong, its make a error in "crontab: installing new crontab".

To execute you script every 5 Min, you can use:

*/5 * * * * command
47,392
Posted By diogooute
To choice if you want to execute this script for...
To choice if you want to execute this script for everybody or for a specific user, that don't need to be the logged user like crontab -e, you can edit the file /etc/crontab. This file is similar...
2,113
Posted By diogooute
I think that its possible. I made some days ago...
I think that its possible.
I made some days ago a script to check if crontab contains my script and add him if it don't contains. When you script is in crontab u can use what i told you to send...
2,113
Posted By diogooute
You can use the /bin/mail -s "subject" "email" <...
You can use the /bin/mail -s "subject" "email" < bodyFile(~/body.txt)

U can use the scheduler to send a email every month, see in you terminal typing contrab --help. This will execute a...
1,987
Posted By diogooute
hi, what language are you need to this...
hi,
what language are you need to this script?
Can you put the code of the file before and after you run the script? I think its you help to know exactly the problem and maybe i could help...
40,272
Posted By diogooute
asterisk
I am using shell scrit bash.
I have tested it, but if you try to put this result in a variable and try echo again its will show all files and folders in u current directory.

I used this script to...
5,196
Posted By diogooute
maybe the crontab
Hi,
I am not expert in script but today i done i script to check online intranet server periodically...
I use the crontab to make it... u can use him to check the folder sometimes and compare...
6,673
Posted By diogooute
Crontab
I am new in shell script, but i made atm a script to add in crontab my script to run..
u can do this too...

i made this...

crontab -l > $TEMPFILE
#MODIFY u temp file...
#
# ( check if...
5,196
Posted By diogooute
shell script
I think u can use the crontab... crontab is a file that can execute a command in a period... if u put a crontab to execute a shell script that ll copy this data i think ll work...
I am not a expert,...
40,272
Posted By diogooute
Use asterisk in shell script bash
Hello,
I am trying to save in a file a single "*" but its not working... look what i am doing...


FILE="/home/teste/a.txt"

...BEGIN...

ASTERISK="*"

echo "STRING $ASTERISK ...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 11:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy