Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

  • Ben February 2014
Adding a Cron Job for Webfaction
  • Vote Up0Vote Down GaryGary
    Posts: 2Sendy user

    NOTE: There is another thread that gives some basic instructions but leave out some important details, especially for folks who have no idea what they are doing.

    Here are some instructions for setting up your cron job on Webfaction.

    1. Open Terminal

    2. You need to ssh into your account. like this ssh USERACCOUNT@SERVER.webfaction.com

    3. Enter your Password for your account

    4. Type the following crontab -e

    5. Press ‘i’ to go into vim’s insert mode

    6. Insert your cron job */5 * * * * /usr/local/bin/php /home/USERACCOUNT/webapps/PATHTO/sendy/scheduled.php > /dev/null 2>&1

    7. press esc to exit vim's insert mode

    8. Type ZZ ( must be capital letters )

    You should now see a message that says “crontab: installing new crontab”

    Now wait 5 minutes and test your Sendy "Schedule a campaign" feature. If you do not see the warning box alerting you to set up a cron job then everything has worked!

    Gary

  • 1 Comment
  • Vote Up0Vote Down BenBen
    Posts: 3,421Sendy support

    Thanks for sharing Gary. :)

This discussion has been closed.
All Discussions