---
title: "Service Variable References, Cron Jobs Part Deux, Nixpacks Updates"
date: 2023-07-21T15:00:00.000+00:00
number: 0143
url: https://railway.com/changelog/2023-07-21-service-variable-references
---

# Service Variable References, Cron Jobs Part Deux, Nixpacks Updates

It’s been an all-out feature fest around here for the past couple of weeks between launching [Volumes](https://railway.app/changelog/2023-07-14-volumes-generally-available#volumes-to-ga), [Docker Deploys](https://railway.app/changelog/2023-07-07-docker-hub-priority-boarding#deploy-docker-images-to-priority-boarding), and [Private Networking](https://railway.app/changelog/2023-06-30-private-networking-general-availability#private-networking-generally-available).

It’s been a ton of fun as we’ve opened the quarter burning down big feature after big feature on our way to becoming your favorite infra provider’s favorite infra provider.

We’re excited to have those features out in general availability and we have a whole bunch of stuff coming up next — we’re talking [Regions](https://feedback.railway.app/feature-requests/p/configurable-deployment-region), [Scale to Zero](https://feedback.railway.app/feature-requests/p/scale-to-zero-pause-services), [Better Logging](https://feedback.railway.app/feature-requests/p/better-logging-support), and more.

So with that said, we’re going to take a deep breath this week and release a few smaller things. 

Is that ok with you? 

Cool, cool. 

Thanks for being you. 🧘‍♂️

## Service Variable References

[Image: You can now reference variables across services]

We’ve added the ability to reference variables across services. 

The meta story is that we’re in the process of transforming the concept of a database plugin on Railway to “a service with one or more volumes attached plus a Docker image.” 

We think this reconfiguring of the plugin concept will make it clearer going forward what a plugin actually is, which is sort of difficult to define at the moment.* *

So for the now, this change allows services to create variables (possibly composed of other service variables) that can be *imported* and used by other services — for example the "web" service referencing `pg.DATABASE_URL`.

Now that you know, you may go forth and get started linking variables at your leisure. 

Have fun!

## Cron Jobs Updates

We’ve been enjoying the enthusiastic response to Cron Jobs, which you may remember we revealed in this space just last week.

Let’s read the mail, shall we?

One user wrote:

```markdown
I wasn't expecting the job to be executed directly after deployment, but rather at the cron date.

```

Oops! Ok, well we fixed that one.

We just wanted to take this space to let you know. 

We also [wrote some docs](https://docs.railway.app/reference/cron-jobs), so check those out if you wanna cron some jobs. Remember you’ll have to join [Priority Boarding](https://docs.railway.app/reference/priority-boarding) to check it out.

Now you know!

## Nixpacks Updates

We’ve got some spicy updates to Nixpacks for ya! 

We’re talking upgrades to [npm 9](https://github.com/railwayapp/nixpacks/pull/930), [PnPM 8](https://github.com/railwayapp/nixpacks/pull/930), and improved PHP support. 

For Laravel, [Nixpacks will now warn](https://github.com/railwayapp/nixpacks/pull/928) about missing environment variables. This should reduce confusion when deploying Larvel for the first time and generally improve the first-time experience for PHP users.

We’re also [now supporting fallback paths](https://github.com/railwayapp/nixpacks/pull/929) for PHP projects, which should come in handy. 

If there are more updates you’d like to see to Nixpacks — and especially if you’d like to contribute — make sure to jump into our [Discord](https://discord.gg/invite/railway) and let us know.

See you there! 

## Improvements and Fixes

- We added markdown support for template descriptions
- Big shout-out to Pavan Sunkara for shipping a [Railway Terraform Provider](https://github.com/terraform-community-providers/terraform-provider-railway/issues/11)! It even supports new features like Docker Images and Cron Schedules! 💫