Jump to content

Recommended Posts

Posted

I have a clean-up script which is run by CRON every so often. I would like to add some more features, but this requires a BASH shell.

 

Which shell is used now, and how can a BASH shell be used instead (if this is possible)?

 

Thanks,

 

Mark

  • 4 weeks later...
Posted

I don't think you understand the question. Cron already works -- it runs a clean-up script for our Drupal-based site.

 

What shell does Cron default to?

 

I want to make the script more efficient, and to do that I need to know if it's using sh, ksh, bash, or whatever.

 

 

Cheers,

 

Mark

Posted

Thanks, that's what I assumed, but was getting some weird errors when trying to set an environment variable. Got it sorted out now (I think).

 

Cheers,

 

Mark

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...