Jump to content

Is This A Safe Script To Use For A Cron?


Recommended Posts

Hi all,


I am still new to this, and only have a few basic needs (for now).


Basically, I fill a folder daily with images (stop motion type) and then backup the days worth of images. I would then need to delete them ready for the next day.

Is this a good script to use:


rm /home/username/public_html/webcam1/*.jpg


and do I just run it as a cron command?


thank you in advance for any help


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...