Jump to content
xisto Community
rob86

Does Anyone Know About Crontab? Have a few questions

Recommended Posts

Anyone out there know much about using cron tab? I'm having some difficulties with it, I can't get my bash scripts to do anything and I don't know if it's because it won't echo to a terminal, or if there's something wrong with my cron text, or both.I think it wont echo to a terminal, so how do I do that? I basically just wanted to make a test bash script that says "hello world" in a terminal every minute.

Share this post


Link to post
Share on other sites

Are you trying to use this crontab on your hosting provided by Xisto? If so, I'm not sure you can output to the terminal. Could you post the contents of your crontab and the bash script so we can do a bit of troubleshooting?

Share this post


Link to post
Share on other sites

No I was using cron on my computer but I figured out what was wrong. I had to put in export DISPLAY=:0.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.