Results 1 to 2 of 2
Hi, im trying to make a cron job that would delete everything in /home/kiddie/public_html/account/phaR5rus2t5abrUFExa9UPUspeTrevupa5pAjUPRaG7drebEmU 8U63PrE8rAPHef/st2xububedr3chepre29u4exEchutRu7etathejabr294aw4fr exufef8xehusep/ even dot files any idels? i tryed
#!/bin/bash
rm -f /home/kiddie/public_html/account/phaR5rus2t5abrUFExa9UPUspeTrevupa5pAjUPRaG7drebEmU 8U63PrE8rAPHef/st2xububedr3chepre29u4exEchutRu7etathejabr294aw4fr exufef8xehusep/*
rm ...
- 03-11-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 1
Cron Job
Hi, im trying to make a cron job that would delete everything in /home/kiddie/public_html/account/phaR5rus2t5abrUFExa9UPUspeTrevupa5pAjUPRaG7drebEmU 8U63PrE8rAPHef/st2xububedr3chepre29u4exEchutRu7etathejabr294aw4fr exufef8xehusep/ even dot files any idels? i tryed
#!/bin/bash
rm -f /home/kiddie/public_html/account/phaR5rus2t5abrUFExa9UPUspeTrevupa5pAjUPRaG7drebEmU 8U63PrE8rAPHef/st2xububedr3chepre29u4exEchutRu7etathejabr294aw4fr exufef8xehusep/*
rm -rf /home/kiddie/public_html/account/phaR5rus2t5abrUFExa9UPUspeTrevupa5pAjUPRaG7drebEmU 8U63PrE8rAPHef/st2xububedr3chepre29u4exEchutRu7etathejabr294aw4fr exufef8xehusep/.??*
but this give me a error /bin/sh: del: command not found anyh ideals?
- 03-11-2010 #2Linux User
- Join Date
- Nov 2009
- Location
- France
- Posts
- 292
Write the full path to the command in your script run by cron :
or in your cron file, set the PATH variable.Code:/usr/bin/rm ...
0 + 1 = 1 != 2 <> 3 != 4 ...
Until the camel can pass though the eye of the needle.


Reply With Quote