Is that possible to make an automatic script on my server host ? I don’t have access to the prompt.
I would like to do a script who remove files in a specific directory every weeks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The straight answer is: use CRON.
Since you don’t have “access to the prompt”, you’re probably using some kind of shared hosting (right?). In that case, most hosting providers offer a UI interface for CRON. In HostGator, for example, it’s called “Cron Jobs”.