Results 1 to 3 of 3

Thread: Is running a cron job command will delete images too?

  1. #1
    Join Date
    Oct 2012
    Posts
    150
    Thanks
    18
    Thanked 1 Time in 1 Post

    Default Is running a cron job command will delete images too?

    I know for sure that when I delete unwanted ads with the regular "delete this ad" option, it removes the text, but the images associated with the ads remain in the image folder intact.

    Does anyone know if running a cron job in Linux to delete unwanted ads will also delete the images associated with those ads?


    Thanks.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,946
    Thanks
    16
    Thanked 304 Times in 303 Posts
    Blog Entries
    11

    Default

    It depends on the script/command you're running through cron.

    If you post what you have, it will be a easier for us to advise.

    Tip: if you're running a delete command through a php script, try using absolute paths in your php script.
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  3. #3
    Join Date
    Oct 2012
    Posts
    150
    Thanks
    18
    Thanked 1 Time in 1 Post

    Default

    Actually, as it happens often to me, I checked the cleanup.php file and sure enough I saw that it does clean up images too.

Similar Threads

  1. I want with one command become lowercase images containers
    By leonidassavvides in forum JavaScript
    Replies: 2
    Last Post: 04-09-2010, 01:18 PM
  2. Replies: 16
    Last Post: 11-11-2009, 06:30 AM
  3. Delete file that is currently running
    By Schmoopy in forum PHP
    Replies: 3
    Last Post: 03-07-2009, 10:20 AM
  4. HV MENU running before all images loaded help?
    By pixelpusher in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 08-17-2005, 02:45 AM
  5. Rollover Images and OpenSubWin () Command
    By supergirl in forum JavaScript
    Replies: 0
    Last Post: 07-25-2005, 12:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •