Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

help with cron

Discussion in 'General Discussion' started by pghs2kid, Mar 1, 2015.

  1. pghs2kid

    pghs2kid Registered

    Mar 1, 2015
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    Sorry if this may be in the wrong section (im new here) if that is the case, moderators please move to the appropriate location.

    Question: I would like to use cron to delete old posts and images from a social media style website. Basically delete all user content without deleting their profile image and other information directly linked to them..hope that makes sense? Maybe a simpler put example would be to delete monthly everything all users have posted to facebook, all wall content, photos, etc. but without deleting the users account,profile picture,info, messages, etc.

    I am using oxwall, however, to my knowledge cron works in compliance with it? If anyone would have the command i should be using to do this task please let me know. Or maybe I can rather "edit" the code in oxwall to perform such a task?

  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    May 20, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    You might do better to ask over at oxwall, whatever that is. You wouldn't be able to make any sort of cronjob to edit/remove content without having the tools in the software you're using.

    This isn't a cPanel issue. When you find more details for this from oxwall, depending on the solution, yes you can setup a cronjob in your cPanel. That is, if your Hosting Provider permits that feature on your account.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice