PeepSo
PeepSo
  • Free
  • Pricing
  • Features
  • Demo
  • Use Cases
    • PeepSo for E-Commerce
    • PeepSo for E-Learning
    • PeepSo for Digital Commerce
    • PeepSo for Paid Memberships
    • PeepSo for Online Communities
    • PeepSo for Mobile Apps
    • PeepSo for Online Marketplace
    • PeepSo for Job Boards
    • PeepSo for Advanced Advertising
    • PeepSo for Donations
    • PeepSo vs Competition
  • Community
    • Activity Stream
    • Members
    • Groups
  • Showcase
  • Blog
Log in
PeepSo
PeepSo
  • Free
  • Pricing
  • Features
  • Demo
  • Use Cases
    • PeepSo for E-Commerce
    • PeepSo for E-Learning
    • PeepSo for Digital Commerce
    • PeepSo for Paid Memberships
    • PeepSo for Online Communities
    • PeepSo for Mobile Apps
    • PeepSo for Online Marketplace
    • PeepSo for Job Boards
    • PeepSo for Advanced Advertising
    • PeepSo for Donations
    • PeepSo vs Competition
  • Community
    • Activity Stream
    • Members
    • Groups
  • Showcase
  • Blog

Knowledgebase

Getting Started

7
  • Installation, Initial Setup and Updates
    • PeepSo Installation
    • Navigation, Pages and Shortcodes
    • Updates
    • Theme Setup, Installation And Update
  • System and Hosting Requirements
    • System & Hosting Requirements
    • System Requirements for Video Uploads
    • System Requirements for Mobile App with MobiLoud

Basic Admin Configuration

61
  • PeepSo Dashboard
    • Backend Dashboard
  • Configuration
    • General
      • Licenses
    • Appearance
      • User Profile Settings
      • Allow Users to Delete Profile
      • Avatar & Cover Settings
      • Profile details & Followers
      • Customize the Basic Color Scheme
      • Navigation Toolbar Settings
      • Set Date Format
      • Hover Cards Settings
      • Override Admin Toolbar
      • Member Listing Settings
      • Customize the Login Box
      • Add The PeepSo Brand To Your Website Content
    • Account & Security
      • Registration Configuration
      • Disable Registration
      • Terms Of Conditions & Privacy Policy
      • Usernames
      • Login, Logout, & Security Options
    • Stream Posts
      • Activity Stream Configuration
      • Saved Posts Configuration
      • Post Backgrounds
      • GIPHY Configuration
      • Poll’s Configuration
    • Markdown
      • Markdown Configuration
    • Blog Posts
      • Blogposts Configuration
      • Blog Posts – Profile Integration
      • Blogposts – Activity Stream Integration
      • Blogposts – Comments integration
      • BlogPosts – Third-Party Integration
      • Change WordPress Logo On BlogPosts Embedded Stream
    • Notifications
      • Default notification settings for new users
      • Email Configuration
    • Edit Emails
      • Edit Emails
    • Advanced
      • SEO and Open Graph settings
      • Social Sharing Configuration
      • Compatibility settings
      • Performance Configuration
      • Setting Up The Cron Job
      • Cache busting
      • Avatar & Cover Image Quality
      • Exit Gateway for External URL’s
      • File System Override
    • Moderation
      • Reporting Configuration
      • Sensitive posts NSFW configuration
      • WordFilter Configuration
    • Location
      • Location Settings
      • Setting Up Google API key
    • Navigations & Filters
      • Navigation, Pages and Shortcodes
      • Login, Logout, & Security Options
    • Live Updates
      • Live Updates
    • Early Access
      • Early Access Configuration
      • Header Search
    • Search
      • New Search
  • Manage
    • Profile Fields Configuration
    • Reactions Configuration
    • Managing VIP Icons
    • Managing Group Categories
    • Deleting The Group
  • Queues
    • Queues
  • Installer
    • PeepSo Installation

PeepSo Plugins

120
  • Foundation
    • Activity Stream – Frontend
    • Searching The Streams
    • Saving A Post
    • Direct Link to Single Post or Comment
    • Reporting Content
    • Create Poll
    • Profile Avatar & Cover
    • User Profile Preferences
    • Notification preferences
    • Search Members
  • Core
    • Chat
      • Chat Configuration
      • Chat page
      • Getting Started With Chat
      • Accessing Chat
      • Initiate Chat With Users
      • Receive New Chats From Friends Only
      • Starting a Group Conversation
    • Friends
      • Friends Configuration
      • Friends Features
    • Groups
      • Groups Backend Configuration
      • Groups page
      • Group category pages
      • Notify Admins When New Group Is Created
      • Configurable Default Notifications For New Group Members
      • Creating The Group
      • Deleting The Group
      • Edit Group Settings
      • Invite Users to Groups
      • Group Members Filtering
      • Manage Group Members
      • Follow / Unfollow Group Activity & Notifications
    • Photos
      • Photos Settings
      • Photos in Post
      • Photo Albums
      • Setup AWS S3 Storage
    • Audio & Video
      • Audio And Video Settings
      • Setting Up The Amazon Elastic Transcoder Integration
      • Uploading Audio
      • Uploading Videos
    • Email Digest
      • Email Digest Configuration
    • User Limits
      • User Limits Configuration
      • File Uploads in User Limits Configuration
    • File Uploads
      • File Uploads Settings
  • Integrations
    • Almighty Support
      • Configuring Almighty Support Integration
    • BadgeOS
      • BadgeOS Configuration
      • Admin Awarded Badges
      • BadgeOS Frontend Features
      • Setup Badges For Users To Earn Them
      • BadgeOs + PMP Membership
    • myCRED
      • Configuring MyCRED Integration
      • Profile details & Followers
    • Mobile App with MobiLoud
      • MobiLoud integration- basic info
      • MobiLoud Settings Within PeepSo
      • Sidebar Widgets In App
    • Social Login & Invitation
      • Social Login Configuration and Settings
      • Social Invitation widget
      • Facebook Login
      • Google Login
      • Instagram Login
      • Twitter Login
      • Amazon Login
      • Apple Login
      • Linkedin Login
      • Telegram Login
      • Reddit Login
      • GitHub Login
      • GitLab Login
      • Dropbox Login
      • Foursquare Login
      • Steam Login
      • Tumblr Login
      • BitBucket Login
      • Strava Login
      • TwitchTV Login
      • Discord Login
      • Slack Login
    • WP Event Manager
      • WP Event Manager Backend Configuration
      • Creating The Event
      • Frontend Events Filter option
      • Frontend Events Calendar view
    • GiveWP
      • GiveWP Backend Configuration
      • GiveWP on Frontend
    • WP Job Manager
      • WP Job Manager Backend Configuration
      • WP Job Manager on Frontend
    • IdeaPush
      • IdeaPush Backend Configuration
      • IdeaPush Frontend Features
  • Monetization
    • AdvancedAds
      • Advanced Ads Requirements
      • Advanced Ads Backend Configuration
      • Advanced Ads – Recommended Creation Process For Stream Ad
      • Targeting Ads
    • EDD
      • EDD Backend Configuration
      • EDD Integration On Profile
      • EDD Integration On Stream
    • LearnDash
      • Getting Started with LearnDash Integration
      • LearnDash Backend Configuration
      • LearnDash on Frontend
      • Auto-Assign Group to Courses
      • VIP Badges for Courses
    • Paid Membership Pro
      • Paid Membership Pro Overview
      • PMP Configuration
      • PMP & PeepSo Groups
      • BadgeOs + PMP Membership
      • PMP & VIP Integration
    • WooCommerce, Dokan and Product Vendors
      • Woocommerce Integration Overview
      • Woocommerce Backend Configuration
      • Woocommerce Integration On Stream
      • Woocommerce Integration On Profiles
      • Dokan Integration
      • Become a Dokan Vendor
      • WooCommerce Product Vendors integration
    • WPAdverts
      • WP Adverts Overview
      • WPAdverts Backend Configuration
      • WPAdverts On Frontend
      • Creating The Ad
      • Exclude Ad Categories From Creating The Activity Stream
    • Tutor LMS
      • TutorLMS Backend Configuration
      • TutorLMS on Frontend
      • Getting Started with TutorLMS Integration
      • Auto-Assign Group to Courses
      • VIP Badges for Courses

Gecko Theme

31
  • Gecko Page Options
  • Settings
    • Let Users Select Preferred Theme
    • Setup The Landing Page
    • Mobile App Settings
  • Gecko Customizer
    • Theme Presets
    • Site
      • Customize Site Logo and Favicon
      • Customize Your Font
    • Global Colors
      • Customize Global Colors
    • Appearance
      • Adjusting the corners
      • Adding shadows to main elements / widgets
    • Theme
      • Edit Link on Pages and Posts
      • Theme Layout settings
      • Set Up Sidebars
      • Theme Body settings
      • Header options
      • Enable Long Menu
      • Header Search
      • Set Up Side Navigation Bar
      • Changing Footer Background and Text Color
      • Customize mobile menu
    • Blog
      • WordPress Blog Settings
    • Widgets
      • Customize Sticky Top Widget Areas
    • PeepSo
      • Customize PeepSo Posts Appearance in the Stream
      • Customize PeepSo Buttons
      • Remove Side Paddings On Community Pages On Mobile
      • Customize Color of Notification Bubbles
      • Customize Color of Polls
      • Groups Cover Settings
      • Landing / Register Box Settings
    • Other Plugins Tabs
      • Customize WooCommerce
      • Yoast SEO settings in Gecko Customizer

Tips & Tricks

19
  • PeepSo Widgets
    • Widget areas
    • Profile widget
    • UserBar Widget
    • Hashtags Community Widget
    • Social Invitation widget
    • Userbar Widget in Other Than Gecko Theme
  • Errors & Issues
    • Version Mismatch Notice When Using Child Theme
    • Known Issues With Third-Party Plugins
    • Integration Or Monetization Plugins Won’t Activate
  • How to...
    • Setup The Landing Page
    • Translate PeepSo
    • Text overrides
    • Set Community Administrator
    • Forcefully Update Email Intensity Setting And Control Number of Emails Sent
    • Set Delete Date For Old Notifications
    • Hide Messages For Guest Users
    • Disconnect From Social Network Account
    • Change Password/ Field Disabled When Logging In Using External Accounts
    • Configuring Google Invisible Captcha

Developers

64
  • Getting Started (Developers)
  • Overrides & Customization
    • Text overrides
    • Template overrides
    • Image overrides
    • Email overrides
    • CSS overrides
    • CSS Snippets- Examples
      • Snippet: Hide Header Search For Guests
      • Snippet: Hiding Image Upload In Messages
      • Snippet: Pin to Top post – Legacy look (from PeepSo 2)
      • Snippet: Change or remove landing template transparent image color
      • Snippet: Change PeepSo postbox placeholder text color
      • Snippet: Custom icon for Chat
      • Snippet: Display PeepSo Navigation Bar Only On Mobile
      • Snippet: Hide Group Avatar
      • Snippet: Show PeepSo postbox options
      • Snippet: Multi-Colored Hashtags In The Hashtags Widget
      • Snippet: Hide PeepSo Stream Ad On Profile / Groups
      • Snippet: Change Notifications Bubble Color
      • Snippet: Hide Stream Filters Warning
      • Snippet: Hide Media Subtitle
      • Snippet: Custom Title Color For Gecko Widgets
      • Snippet: Color Change For Input Fields On The Gecko Landing Page
      • Snippet: Hide poll item votes
      • Snippet: Force Font Family
      • Snippet: Gecko mobile menu custom color
      • Snippet: Hide Text From Moods
      • Snippet: Change hashtag background in PeepSo postbox
      • Snippet: PeepSo Navigation Bar Custom Color
      • Snippet: Album Display Fix For Third-party Themes
      • Snippet: Custom colors for registration form when using Gecko dark template
      • Snippet: Hide footer on mobile view
      • Snippet: Hide Cover Options
      • Snippet: Change Notifications Colors
      • Snippet: Remove Login Box From Landing Page
      • Snippet: Hide Avatar Change Option
      • Snippet: Hide Profile Progress Bar
      • Snippet: Change notifications background to round shape
      • Snippet: Change Position Of New Message Popup Window
      • Snippet: Display Members Search Filters
      • Snippet: Changing Input Colors On The Registration Page
      • Snippet: Chanage Landing Form Button Colors
  • Hooks
    • Filter: oEmbed
    • Action: new reported content
    • Filter: country list
    • Filter: community navigation
    • Filter: photo thumbnail sizes
    • Filter: media upload title & icon
    • Filter: Stream Ad – allowed HTML
    • Filter: Disable Public Privacy
    • Filter: User name length
  • Hooks: Groups
    • Action: group created
    • Action: group invitation accepted
    • Action: group invitation sent
    • Action: group joined
    • Filter: group privacy
  • Hooks: Posts & Comments
    • Filter: enable or disable comment box
    • Action: like added
  • Hooks: Users
    • Action: profile completeness changed
    • Filter: profile navigation
    • Filter: custom cover size
    • Filter: profile navigation order
    • Filter: name parts
    • Action: user profile field saved
    • Action: print after login form
  • Home
  • Documentation
  • Basic Admin Configuration
  • Configuration
  • Advanced
  • Setting Up The Cron Job

Setting Up The Cron Job

This article use images from third-party sources. CPanel is commonly used on majority of hosting services, but if you need to access Cron Job configuration differently, please consult your hosting provider.

PeepSo Configuration #

PeepSo runs the built-in maintenance scripts and for the small sites, they are usually enough, but for the active and large sites, it is better to offload this process directly to server to improve performance. Some features like video uploads even require external cron job to be set. Before you start adding external cron jobs, please enable “External Maintenance Cron Job” in WP Admin -> PeepSo -> Configuration -> Advanced -> Cron jobs section.

Creating a New Cron Job #

Cron is the utility software installed on Unix-like computer operating system. In website development it is used to trigger a certain action at fixed times, dates, or intervals.

Adding the cron job is commonly done through the hosting CPanel interface. If you’re not sure how to access it, please consult your hosting provider.

CPanel Cron Job Interface

  1. Common settings field allows you to select one of the commonly used configurations, like running the cron every minute, every 5 minutes, once a day etc. If you chose the common setting, the options in box #2 will be filled automatically.
  2. If you ever need to fine tune the cron schedule, you can do it here
  3. In this field, the command to execute should be entered. We will provide all, but you will need to modify them slightly to match the domain name or change the HTTP to HTTPS if you enable SSL certificate on your site.

Cron Command Structure #

Every cron command consist out of three parts. The software that is going to be used (wget, curl), the cron command (url in the middle)  and additional arguments at the end (> /dev/null)
This third part of the cron command is particularly important.
We suggest using the one outlined bellow, but you can also opt for using different, or no arguments at all.
Examples:

  • Our example (> /dev/null) – Sends a cron output to /dev/null and notifies the email owner set in cron MAILTO when errors or debug messages occur
  • > /dev/null 2>&1 – Output is sent to /dev/null. No email is sent.
  • No argument – log file is created, email is sent to MAILTO address set in cron.

What is /dev/null? #

It is just a special file on UNIX-like systems that accepts to be written but it never saves what’s written in it. Consider it be a book that is constantly being written, but it has no beginning, middle, or the end.

Maintenance Cron #

Maintenance Cron is part of PeepSo Foundation Plugin. Setup scripts that clean up orphaned data, recounts hashtags, deletes temporary videos, delete items that are no longer needed. You can set the cron interval to run every 5 minutes and it works best for most sites.

Commands you can use:

wget https://domain.com/?peepso_process_maintenance > /dev/null
or
curl https://domain.com/?peepso_process_maintenance > /dev/null

Mail Queue #

Mail queue is part of PeepSo Foundation Plugin. The email notifications that are queued will be sent in batches.
Before you setup the cron, make sure that the send mail function works properly, otherwise the email will stuck in the mail queue. You can set the cron interval to run every 5 minutes and it works best for most sites.

Commands you can use:

wget https://domain.com/?peepso_process_mailqueue > /dev/null
or
curl https://domain.com/?peepso_process_mailqueue > /dev/null

Additional parameters:

The Mail Queue cron accepts a limit parameter to override how many emails are sent per run. The default limit is 50. So if your site needs to send a thousand emails per hour, you can run the cron every 5 minutes with limit 100 (that’s 1200 emails per hour). For example:

curl https://domain.com/?peepso_process_mailqueue&limit=100

It also accepts a max_attempts parameter to override how many times an unsuccessful email is retried before being marked as failed. The default value is 5. Please bear in mind, retrying failing emails might slow your queue down.

curl https://domain.com/?peepso_process_mailqueue&max_attempts=10

The two parameters can be combined like this:

curl https://domain.com/?peepso_process_mailqueue&limit=100max_attempts=10

Controlling parameters without external cron:

If for some reason your hosting does not support cron jobs, and you have to rely on the WordPress scheduler, there is a way to control limit and max_attempts with PHP filters:

add_filter('peepso_process_mailq_limit', function($v) {    return 100;    },11,1);

add_filter('peepso_process_mailq_max_attempts', function($v) {    return 20;    },11,1);

Local Video Conversion Queue #

Video Conversion queue is part of Videos Plugin. The cron will convert videos that are queued. Conversion process is starting from the oldest to newest, one video in one process. You can set the cron interval to run every 15 minutes or it depend on your server capability. Bear in mind that Video Conversion are an advanced experimental feature in a BETA phase – one that comes with a number of strict technical requirements and limitations.

Commands you can use:

wget https://domain.com/?peepso_convert_videos_event > /dev/null
or
curl https://domain.com/?peepso_convert_videos_event > /dev/null

Amazon Elastic Transcoder Video Conversion Queue #

Similarly to local video conversion, you can offload this task to Amazon Elastic Transcoder
Use this commant when you enable that integration.

wget https://domain.com/?peepso_upload_videos_to_s3 > /dev/null
or
curl https://domain.com/?peepso_upload_videos_to_s3 > /dev/null

GDPR Queue #

GDPR queue is part of PeepSo Foundation Plugin. This cron triggers the execution for users who want to export their data. You can set the cron interval to run every 15 minutes.

Commands you can use:

wget https://domain.com/?peepso_gdpr_export_data_event > /dev/null
or
curl https://domain.com/?peepso_gdpr_export_data_event > /dev/null

Email Digest #

Email Digest Cron is part of Email Digest Plugin. The cron creates and send email digest data for users. You can set the cron interval to run every 15 minutes.

Commands you can use:

wget https://domain.com/?peepso_email_digest_event > /dev/null
or
curl https://domain.com/?peepso_email_digest_event > /dev/null

Please note that curl must be installed on the server if you want to use curl commands

For Issues With Hosting Caching Solutions #

In some minor cases there are issues with cron jobs, when cron tasks are firing in very large intervals due to server caching solutions set in place by the specific hosting provider and ignoring the configured times.

As a workaround, you could try the following cron job modification (example for the video conversion):

wget -q -O /dev/null "https://domain.com/?peepso_convert_videos_event&cronid=`date +\%Y\%m\%d\%H\%M\%S`"

Adding &cronid=`date +\%Y\%m\%d\%H\%M\%S` to the cron task would force a new request each time, bypassing the caching solution and allowing the cron job to run at the specified times on server environments that utilize such server caching.

Using Third-Party Services To Schedule Cron Jobs #

If for whatever reason, setting up the Cronjob is not a possibility on your server, you can choose to offload this task to third-party provider.
We recommend EasyCron that can provide advanced webcron solutions for all common and tricky needs.
EasyCron is in the business of handling Cron jobs since 2010 and have over 140.000 customers happily using their service.
You can see the full instructions on how to setup Cron jobs on EasyCron website by following this tutorial.

Video Tutorial That Covers Cron Jobs #

What are your Feelings
Share This Article :
  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on September 28, 2023
Performance ConfigurationCache busting
Table of Contents
  • PeepSo Configuration
  • Creating a New Cron Job
  • Cron Command Structure
    • What is /dev/null?
    • Maintenance Cron
    • Mail Queue
    • Local Video Conversion Queue
    • Amazon Elastic Transcoder Video Conversion Queue
    • GDPR Queue
    • Email Digest
  • For Issues With Hosting Caching Solutions
  • Using Third-Party Services To Schedule Cron Jobs
  • Video Tutorial That Covers Cron Jobs

PeepSo is a super-light, free, social network plugin for WordPress that allows you to quickly and effortlessly add a social network or an online community, similar to Facebook right inside your WordPress site.

Resources

  • Third Party Software
  • WordPress Hosting
  • Affiliates
  • Brand Manual
  • Team
  • Careers!

Our Product

  • Pricing
  • Installation & Configuration Service
  • Installation & Configuration Service for Established Websites
  • Changelog
  • Future
  • Donate 🤍

Features

  • All features
  • Ultimate Bundle
  • Gecko Theme
  • PeepSo Free Bundle

Support

  • Contact Us
  • My Tickets
  • Fanatical Support
  • Documentation
  • System Requirements
  • FAQ

Policies

  • License Agreement
  • Privacy Policy
  • Support Policy
  • Refund Policy
  • Community Guidelines

Use Cases

  • PeepSo for E-Commerce
  • PeepSo for E-Learning
  • PeepSo for Digital Commerce
  • PeepSo for Paid Memberships
  • PeepSo for Online Communities
  • PeepSo for Mobile Apps
  • PeepSo for Online Marketplace
  • PeepSo for Job Boards
  • PeepSo for Advanced Advertising
  • PeepSo vs Competition
  • PeepSo for Donations
PeepSo
A United States Company, PeepSo, Inc. "PeepSo" and "Your Community. Your Way." are trademarks registered in the US Patent and Trademark Office.